Class: ConvenientService::Utils::Proc::Display Private
- Inherits:
-
Support::Command
- Object
- Support::Command
- ConvenientService::Utils::Proc::Display
- Defined in:
- lib/convenient_service/utils/proc/display.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #proc ⇒ Object readonly private
Instance Method Summary collapse
-
#call ⇒ Object
private
Can be any type.
- #initialize(proc) ⇒ void constructor private
Methods inherited from Support::Command
Constructor Details
#initialize(proc) ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
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)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
16 17 18 |
# File 'lib/convenient_service/utils/proc/display.rb', line 16 def proc @proc end |
Instance Method Details
#call ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns Can be any type.
42 43 44 |
# File 'lib/convenient_service/utils/proc/display.rb', line 42 def call proc ? "{ ... }" : "" end |