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
22 23 24 |
# File 'lib/convenient_service/utils/proc/display.rb', line 22 def initialize(proc) @proc = proc end |
Instance Attribute Details
#proc ⇒ Object (readonly)
Returns the value of attribute proc.
16 17 18 |
# File 'lib/convenient_service/utils/proc/display.rb', line 16 def proc @proc end |
Instance Method Details
#call ⇒ Object
Returns Can be any type.
42 43 44 |
# File 'lib/convenient_service/utils/proc/display.rb', line 42 def call "{ ... }" end |