Class: DataMapper::Collection

Inherits:
Object
  • Object
show all
Defined in:
lib/comma/data_mapper_collection.rb

Instance Method Summary collapse

Instance Method Details

#to_comma(style = :default) ⇒ Object



2
3
4
# File 'lib/comma/data_mapper_collection.rb', line 2

def to_comma(style = :default)
  Comma::Generator.new(self, style).run(:each)
end