Module: Endeca::Readers::InstanceMethods

Defined in:
lib/endeca/readers.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method_id) ⇒ Object

Raises:

  • (NoMethodError)


91
92
93
# File 'lib/endeca/readers.rb', line 91

def method_missing(method_id)
  raise NoMethodError, "undefined method '#{method_id}' for #{self.inspect}. Do you need to add a reader for it?"
end