Module: LazyModel
- Defined in:
- lib/lazy_model.rb,
lib/lazy_model/lazy_state.rb,
lib/lazy_model/lazy_boolean.rb
Defined Under Namespace
Classes: LazyBoolean, LazyState
Instance Method Summary collapse
- #lazy_boolean(attribute) ⇒ Object
- #lazy_state(attribute, enumerables = nil, custom_finders = {}) ⇒ Object
Instance Method Details
#lazy_boolean(attribute) ⇒ Object
13 14 15 |
# File 'lib/lazy_model.rb', line 13 def lazy_boolean(attribute) LazyBoolean.new(self, attribute).define_methods end |