Class: ThreeScaleToolbox::CLI::YamlPrinter
- Inherits:
-
Object
- Object
- ThreeScaleToolbox::CLI::YamlPrinter
- Defined in:
- lib/3scale_toolbox/cli/yaml_printer.rb
Instance Method Summary collapse
Instance Method Details
#print_collection(collection) ⇒ Object
8 9 10 |
# File 'lib/3scale_toolbox/cli/yaml_printer.rb', line 8 def print_collection(collection) puts YAML.dump(collection) end |
#print_record(record) ⇒ Object
4 5 6 |
# File 'lib/3scale_toolbox/cli/yaml_printer.rb', line 4 def print_record(record) puts YAML.dump(record) end |