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:



17
18
19
# File 'lib/convenient_service/utils/proc/display.rb', line 17

def initialize(proc)
  @proc = proc
end

Instance Attribute Details

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

#callObject

Returns Can be any type.

Returns:

  • (Object)

    Can be any type.



37
38
39
# File 'lib/convenient_service/utils/proc/display.rb', line 37

def call
  "{ ... }"
end