Module: Qwe::Mixins::Thing
- Defined in:
- lib/qwe/mixins/thing.rb
Instance Method Summary collapse
Instance Method Details
#[]=(name, value) ⇒ Object
5 6 7 8 |
# File 'lib/qwe/mixins/thing.rb', line 5 def []=(name, value) instance_variable_set(name, value) root&.commit(self, :instance_variable_set, name, value) end |
#to_rb ⇒ Object
10 11 12 |
# File 'lib/qwe/mixins/thing.rb', line 10 def to_rb "self[#{id}]" end |