Class: Compendium::Presenters::Query

Inherits:
Base
  • Object
show all
Defined in:
app/classes/compendium/presenters/query.rb

Direct Known Subclasses

Table

Instance Method Summary collapse

Methods inherited from Base

#to_s

Constructor Details

#initialize(template, object) ⇒ Query

Returns a new instance of Query.



9
10
11
# File 'app/classes/compendium/presenters/query.rb', line 9

def initialize(template, object)
  super(template, object)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Compendium::Presenters::Base

Instance Method Details

#renderObject

Raises:

  • (NotImplementedError)


13
14
15
# File 'app/classes/compendium/presenters/query.rb', line 13

def render
  raise NotImplementedError
end