Class: NameGen::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/name_gen/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#typeObject

Returns the value of attribute type.



3
4
5
# File 'lib/name_gen/config.rb', line 3

def type
  @type
end