Class: Stormtroopers::Factory
- Inherits:
-
Object
- Object
- Stormtroopers::Factory
- Defined in:
- lib/stormtroopers/factory.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Factory
constructor
A new instance of Factory.
- #logger ⇒ Object
- #produce ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Factory
Returns a new instance of Factory.
5 6 7 8 |
# File 'lib/stormtroopers/factory.rb', line 5 def initialize( = {}) @options = @name = [:name] end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/stormtroopers/factory.rb', line 3 def name @name end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/stormtroopers/factory.rb', line 3 def @options end |