Module: XiaodaoMegaLotto
- Defined in:
- lib/xiaodao_mega_lotto.rb,
lib/xiaodao_mega_lotto/drawing.rb,
lib/xiaodao_mega_lotto/version.rb,
lib/xiaodao_mega_lotto/configuration.rb
Defined Under Namespace
Classes: Configuration, Drawing
Constant Summary collapse
- VERSION =
"1.0.0"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
11 12 13 |
# File 'lib/xiaodao_mega_lotto.rb', line 11 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
22 23 24 |
# File 'lib/xiaodao_mega_lotto.rb', line 22 def self.configure yield(configuration) end |
.reset ⇒ Object
18 19 20 |
# File 'lib/xiaodao_mega_lotto.rb', line 18 def self.reset @configuration = Configuration.new end |