Class: FarmingEngineers::Invoices::Common::Invoice

Inherits:
Object
  • Object
show all
Extended by:
InstanceEvalAttr
Defined in:
lib/farming_engineers/invoices/common.rb

Direct Known Subclasses

Eggs::Invoice

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from InstanceEvalAttr

instance_eval_attr

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args) ⇒ Object



10
11
12
# File 'lib/farming_engineers/invoices/common.rb', line 10

def method_missing(method, *args)
  history.send(method, *args)
end

Instance Attribute Details

#historyObject (readonly)

Returns the value of attribute history.



8
9
10
# File 'lib/farming_engineers/invoices/common.rb', line 8

def history
  @history
end