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