Class: ActiveRecord::Relation

Inherits:
Object
  • Object
show all
Defined in:
lib/to_xls/enumerable_patch.rb

Instance Method Summary collapse

Instance Method Details

#to_xls(options = {}) ⇒ Object



13
14
15
# File 'lib/to_xls/enumerable_patch.rb', line 13

def to_xls(options = {})
  self.to_a.to_xls(options)
end