Class: Simplejson2csv::Converter
- Inherits:
-
Object
- Object
- Simplejson2csv::Converter
- Defined in:
- lib/simplejson2csv/converter.rb
Class Attribute Summary collapse
-
.opts ⇒ Object
Returns the value of attribute opts.
Class Method Summary collapse
Class Attribute Details
.opts ⇒ Object
Returns the value of attribute opts.
7 8 9 |
# File 'lib/simplejson2csv/converter.rb', line 7 def opts @opts end |
Class Method Details
.convert(opts = {}) ⇒ Object
9 10 11 12 |
# File 'lib/simplejson2csv/converter.rb', line 9 def convert(opts={}) @opts = opts save_to_csv end |