Class: Babbler::Configuration
- Inherits:
-
Object
- Object
- Babbler::Configuration
- Defined in:
- lib/babbler.rb
Instance Attribute Summary collapse
-
#format ⇒ Object
Returns the value of attribute format.
-
#word_list ⇒ Object
Returns the value of attribute word_list.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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
#format ⇒ Object
Returns the value of attribute format.
62 63 64 |
# File 'lib/babbler.rb', line 62 def format @format end |
#word_list ⇒ Object
Returns the value of attribute word_list.
63 64 65 |
# File 'lib/babbler.rb', line 63 def word_list @word_list end |