Module: ConsoleUtils::JSONOutput

Extended by:
ActiveSupport::Autoload
Defined in:
lib/console_utils/json_output.rb,
lib/console_utils/json_output/jq_formatter.rb,
lib/console_utils/json_output/base_formatter.rb,
lib/console_utils/json_output/default_formatter.rb

Defined Under Namespace

Classes: BaseFormatter, DefaultFormatter, JqFormatter, ParseError

Class Method Summary collapse

Class Method Details

.formatterObject

Get current formatter object


21
22
23
# File 'lib/console_utils/json_output.rb', line 21

def self.formatter
  const_get(formatter_class_name).instance
end