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