Class: Flexite::BaseFactory
- Inherits:
-
Object
- Object
- Flexite::BaseFactory
- Includes:
- Singleton
- Defined in:
- app/factories/flexite/base_factory.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#get(name, *args) ⇒ Object
4 5 6 |
# File 'app/factories/flexite/base_factory.rb', line 4 def get(name, *args) "Flexite::#{@store[name]}".constantize.new(*args) end |