Class: ConvenientService::Utils::Proc::Display

Inherits:
Support::Command show all
Defined in:
lib/convenient_service/utils/proc/display.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Support::Command

[], call

Constructor Details

#initialize(proc) ⇒ void

Parameters:



22
23
24
# File 'lib/convenient_service/utils/proc/display.rb', line 22

def initialize(proc)
  @proc = proc
end

Instance Attribute Details

#procObject (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

#callObject

Returns Can be any type.

Returns:

  • (Object)

    Can be any type.



42
43
44
# File 'lib/convenient_service/utils/proc/display.rb', line 42

def call
  "{ ... }"
end