Class: CountVonCount::Formatters::Yaml
- Inherits:
-
Base
- Object
- Base
- CountVonCount::Formatters::Yaml
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
76
77
78
|
# File 'lib/count_von_count/formatter.rb', line 76
def extension
"yaml"
end
|
#serialize(countObj) ⇒ Object
79
80
81
|
# File 'lib/count_von_count/formatter.rb', line 79
def serialize(countObj)
countObj.to_yaml
end
|