Module: AmsLazyRelationships::Extensions::Reflection

Defined in:
lib/ams_lazy_relationships/extensions/reflection.rb

Instance Method Summary collapse

Instance Method Details

#valueObject



61
62
63
64
65
66
# File 'lib/ams_lazy_relationships/extensions/reflection.rb', line 61

def value(*)
  case (block_value = super)
  when Proc, Method then block_value.call
  else block_value
  end
end