Class: Delayed2

Inherits:
Object show all
Defined in:
lib/ontomde-core/delayed.rb

Instance Method Summary collapse

Constructor Details

#initialize(&b) ⇒ Delayed2

Returns a new instance of Delayed2.



2
3
4
# File 'lib/ontomde-core/delayed.rb', line 2

def initialize(&b)
  @b=b
end

Instance Method Details

#to_sObject



5
6
7
# File 'lib/ontomde-core/delayed.rb', line 5

def to_s
  return @b.call
end