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

Class Method Summary collapse

Class Attribute Details

.configurationObject

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

Yields:



22
23
24
# File 'lib/xiaodao_mega_lotto.rb', line 22

def self.configure
  yield(configuration)
end

.resetObject



18
19
20
# File 'lib/xiaodao_mega_lotto.rb', line 18

def self.reset
  @configuration = Configuration.new
end