Class: Typed::LazyValue

Inherits:
Struct
  • Object
show all
Defined in:
lib/typed.rb

Instance Attribute Summary collapse

Instance Attribute Details

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



8
9
10
# File 'lib/typed.rb', line 8

def block
  @block
end