module JYRon::Outputs

Constants

CLI_OUTPUTS
OUTPUTS_LIST

Public Instance Methods

to_json() click to toggle source
# File lib/jyron/outputs.rb, line 16
def to_json

  return JSON.pretty_generate(@object).concat("\n")
end
to_rb() click to toggle source
# File lib/jyron/outputs.rb, line 11
def to_rb
  res = @object.pretty_inspect
  return res
end
to_yaml() click to toggle source
# File lib/jyron/outputs.rb, line 21
def to_yaml
  return @object.to_yaml
end