Class: Cassandra::Keyspace
- Defined in:
- lib/active_column/tasks/keyspace.rb
Instance Method Summary collapse
Instance Method Details
#with_fields(options) ⇒ Object
87 88 89 90 91 92 |
# File 'lib/active_column/tasks/keyspace.rb', line 87 def with_fields() struct_fields.collect { |f| f[1][:name] }.each do |f| send("#{f}=", [f.to_sym] || [f.to_s]) end self end |