Class: HypertextApplicationLanguage::HashRepresentationRenderer

Inherits:
Object
  • Object
show all
Defined in:
lib/hypertext_application_language/hash_representation_renderer.rb

Overview

Renders a representation as a Hash.

Instance Method Summary collapse

Instance Method Details

#render(representation) ⇒ Hash

Renders a representation to a Hash.

Returns:

  • (Hash)

    The resulting Hash representation.



6
7
8
# File 'lib/hypertext_application_language/hash_representation_renderer.rb', line 6

def render(representation)
  render_representation(representation)
end