Class: Keg::Formatter::Yaml
- Inherits:
-
Object
- Object
- Keg::Formatter::Yaml
- Defined in:
- lib/keg/formatter/yaml.rb
Instance Method Summary collapse
Instance Method Details
#format(obj) ⇒ Object
7 8 9 |
# File 'lib/keg/formatter/yaml.rb', line 7 def format(obj) obj.to_yaml end |