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