Class: Cassandra::ColumnFamily
- Defined in:
- lib/active_column/tasks/column_family.rb
Instance Method Summary collapse
Instance Method Details
#with_fields(options) ⇒ Object
67 68 69 70 71 72 |
# File 'lib/active_column/tasks/column_family.rb', line 67 def with_fields() struct_fields.collect { |f| f[1][:name] }.each do |f| send("#{f}=", [f.to_sym] || [f.to_s]) end self end |