Class: ConvenientService::Utils::Proc::Display
- Inherits:
-
Support::Command
- Object
- Support::Command
- ConvenientService::Utils::Proc::Display
- Defined in:
- lib/convenient_service/utils/proc/display.rb
Instance Attribute Summary collapse
-
#proc ⇒ Object
readonly
Returns the value of attribute proc.
Instance Method Summary collapse
-
#call ⇒ Object
Can be any type.
- #initialize(proc) ⇒ void constructor
Methods inherited from Support::Command
Constructor Details
#initialize(proc) ⇒ void
17 18 19 |
# File 'lib/convenient_service/utils/proc/display.rb', line 17 def initialize(proc) @proc = proc end |
Instance Attribute Details
#proc ⇒ Object (readonly)
Returns the value of attribute proc.
11 12 13 |
# File 'lib/convenient_service/utils/proc/display.rb', line 11 def proc @proc end |
Instance Method Details
#call ⇒ Object
Returns Can be any type.
37 38 39 |
# File 'lib/convenient_service/utils/proc/display.rb', line 37 def call "{ ... }" end |