Class: Inventory::Presenter::Base
- Inherits:
-
Object
- Object
- Inventory::Presenter::Base
- Defined in:
- lib/inventory/presenters/base.rb
Instance Method Summary collapse
-
#initialize(data) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(data) ⇒ Base
Returns a new instance of Base.
2 3 4 |
# File 'lib/inventory/presenters/base.rb', line 2 def initialize(data) @data = data end |