Class: NameGen::Config
- Inherits:
-
Object
- Object
- NameGen::Config
- Defined in:
- lib/name_gen/config.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type = :markov) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(type = :markov) ⇒ Config
Returns a new instance of Config.
5 6 7 |
# File 'lib/name_gen/config.rb', line 5 def initialize(type = :markov) @type = type end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
3 4 5 |
# File 'lib/name_gen/config.rb', line 3 def type @type end |