Class: CountVonCount::Formatters::Json
- Inherits:
-
Base
- Object
- Base
- CountVonCount::Formatters::Json
show all
- Defined in:
- lib/count_von_count/formatter.rb
Instance Attribute Summary
Attributes inherited from Base
#output_dir, #path
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #write_output
Instance Method Details
#extension ⇒ Object
68
69
70
|
# File 'lib/count_von_count/formatter.rb', line 68
def extension
"json"
end
|
#serialize(countObj) ⇒ Object
71
72
73
|
# File 'lib/count_von_count/formatter.rb', line 71
def serialize(countObj)
countObj.to_json
end
|