Module: Jsonpretty
Instance Method Summary collapse
Instance Method Details
#jp ⇒ Object
201 202 203 204 |
# File 'lib/usd.rb', line 201 def jp # return in json_pretty JSON.pretty_generate(self) end |
#jpp ⇒ Object
205 206 207 208 |
# File 'lib/usd.rb', line 205 def jpp # print in json_pretty puts JSON.pretty_generate(self) end |