Module: Occi::Helpers::Inspect

Instance Method Summary collapse

Instance Method Details

#inspectString

Returns json representation

Returns:

  • (String)

    json representation


6
7
8
# File 'lib/occi/helpers/inspect.rb', line 6

def inspect
  JSON.pretty_generate(JSON.parse(to_json))
end