Class: Openra::CLI::Formatters::JSON
- Inherits:
-
Object
- Object
- Openra::CLI::Formatters::JSON
- Defined in:
- lib/openra/cli/formatters.rb
Instance Method Summary collapse
Instance Method Details
#call(data) ⇒ Object
7 8 9 |
# File 'lib/openra/cli/formatters.rb', line 7 def call(data) ::JSON.dump(data) end |