Class: FarmingEngineers::Invoices::Common::History
- Inherits:
-
Array
- Object
- Array
- FarmingEngineers::Invoices::Common::History
- Defined in:
- lib/farming_engineers/invoices/common.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.generator(name, klass) ⇒ Object
47 48 49 50 51 |
# File 'lib/farming_engineers/invoices/common.rb', line 47 def self.generator(name, klass) define_method(name) do |*args| push klass.new(*args) end end |