Class: Array

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

Instance Method Summary collapse

Instance Method Details

#to_excel(options) ⇒ Object



5
6
7
8
9
10
# File 'lib/active_record_to_excel.rb', line 5

def to_excel(options)
  filename  = options.delete(:filename)
  path      = options.delete(:path)

  generate_excel(filename, path, options)
end