Class: CassandraObject::Types::ArrayType::DirtyArray
- Inherits:
-
Array
- Object
- Array
- CassandraObject::Types::ArrayType::DirtyArray
- Defined in:
- lib/cassandra_object/types/array_type.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
-
#record ⇒ Object
Returns the value of attribute record.
Instance Method Summary collapse
- #<<(obj) ⇒ Object
- #delete(obj) ⇒ Object
-
#initialize(record, name, array, options) ⇒ DirtyArray
constructor
A new instance of DirtyArray.
Constructor Details
#initialize(record, name, array, options) ⇒ DirtyArray
Returns a new instance of DirtyArray.
6 7 8 9 10 11 12 13 |
# File 'lib/cassandra_object/types/array_type.rb', line 6 def initialize(record, name, array, ) @record = record @name = name.to_s @options = super(array) setify! end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/cassandra_object/types/array_type.rb', line 5 def name @name end |
#options ⇒ Object
Returns the value of attribute options.
5 6 7 |
# File 'lib/cassandra_object/types/array_type.rb', line 5 def @options end |
#record ⇒ Object
Returns the value of attribute record.
5 6 7 |
# File 'lib/cassandra_object/types/array_type.rb', line 5 def record @record end |
Instance Method Details
#<<(obj) ⇒ Object
15 16 17 18 19 20 |
# File 'lib/cassandra_object/types/array_type.rb', line 15 def <<(obj) do super setify! end end |
#delete(obj) ⇒ Object
22 23 24 25 26 |
# File 'lib/cassandra_object/types/array_type.rb', line 22 def delete(obj) do super end end |