Class: Babbler::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



65
66
67
68
69
# File 'lib/babbler.rb', line 65

def initialize
  @format = 'an'
  @word_list = :original
  super
end

Instance Attribute Details

#formatObject

Returns the value of attribute format.



62
63
64
# File 'lib/babbler.rb', line 62

def format
  @format
end

#word_listObject

Returns the value of attribute word_list.



63
64
65
# File 'lib/babbler.rb', line 63

def word_list
  @word_list
end