Class: Array

Inherits:
Object show all
Defined in:
lib/acts_as_elibri_product/array.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method_name, *args, &block) ⇒ Object



2
3
4
5
# File 'lib/acts_as_elibri_product/array.rb', line 2

def method_missing(method_name, *args, &block)
  return self.id if method_name == :eid
  super
end