Method: ActiveFlag::Value#with
- Defined in:
- lib/active_flag/value.rb
#with(instance, definition) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/active_flag/value.rb', line 5 def with(instance, definition) @instance = instance @definition = definition @column = definition.column return self end |