Class: Fauxsql::ListWrapper
- Inherits:
-
AttributeWrapper
- Object
- AttributeWrapper
- Fauxsql::ListWrapper
- Defined in:
- lib/fauxsql/list_wrapper.rb
Instance Attribute Summary
Attributes inherited from AttributeWrapper
#attribute, #name, #options, #record
Instance Method Summary collapse
Methods inherited from AttributeWrapper
#dirty!, #get_nested_record, #initialize
Constructor Details
This class inherits a constructor from Fauxsql::AttributeWrapper
Instance Method Details
#<<(item) ⇒ Object
7 8 9 |
# File 'lib/fauxsql/list_wrapper.rb', line 7 def <<(item) dirty! { list << item } end |
#clear ⇒ Object
11 12 13 |
# File 'lib/fauxsql/list_wrapper.rb', line 11 def clear dirty! { list.clear } end |