Module: CsvRails::Mongoid::ClassMethods

Defined in:
lib/csv_rails/mongoid.rb

Instance Method Summary collapse

Instance Method Details

#attribute_namesObject



12
13
14
# File 'lib/csv_rails/mongoid.rb', line 12

def attribute_names
  fields.keys.map(&:to_sym)
end