Module: CassandraObject::AttributeMethods::ClassMethods
- Defined in:
- lib/cassandra_object/attribute_methods.rb
Instance Method Summary collapse
Instance Method Details
#attribute_methods_generated? ⇒ Boolean
32 33 34 |
# File 'lib/cassandra_object/attribute_methods.rb', line 32 def attribute_methods_generated? @attribute_methods_generated ||= false end |
#define_attribute_methods ⇒ Object
26 27 28 29 30 |
# File 'lib/cassandra_object/attribute_methods.rb', line 26 def define_attribute_methods return if attribute_methods_generated? super(attribute_definitions.keys) @attribute_methods_generated = true end |