Class: XiaodaoMegaLotto::Configuration
- Inherits:
-
Object
- Object
- XiaodaoMegaLotto::Configuration
- Defined in:
- lib/xiaodao_mega_lotto/configuration.rb
Instance Attribute Summary collapse
-
#drawing_count ⇒ Object
Returns the value of attribute drawing_count.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 |
# File 'lib/xiaodao_mega_lotto/configuration.rb', line 5 def initialize @drawing_count = 6 end |
Instance Attribute Details
#drawing_count ⇒ Object
Returns the value of attribute drawing_count.
3 4 5 |
# File 'lib/xiaodao_mega_lotto/configuration.rb', line 3 def drawing_count @drawing_count end |