Class: Lab42::Config::Lazy

Inherits:
Struct
  • Object
show all
Defined in:
lib/lab42/config/class_level_config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#behaviorObject

Returns the value of attribute behavior

Returns:

  • (Object)

    the current value of behavior



7
8
9
# File 'lib/lab42/config/class_level_config.rb', line 7

def behavior
  @behavior
end

Instance Method Details

#to_procObject



8
# File 'lib/lab42/config/class_level_config.rb', line 8

def to_proc; behavior end