Class: DTK::Client::ViewProcHashPrettyPrint

Inherits:
ViewProcessor show all
Includes:
Auxiliary
Defined in:
lib/view_processor/hash_pretty_print.rb

Constant Summary

Constants inherited from ViewProcessor

DTK::Client::ViewProcessor::AdapterCache, DTK::Client::ViewProcessor::AdapterCacheAug

Instance Method Summary collapse

Methods included from Auxiliary

#cap_form, #snake_form

Methods inherited from ViewProcessor

get_adapter, render

Instance Method Details

#render(hash) ⇒ Object



22
23
24
25
26
# File 'lib/view_processor/hash_pretty_print.rb', line 22

def render(hash)
  object_def = get_top_def()
  raise_error() unless object_def
  render_object_def(hash,object_def)
end