Class: GenerateLotto::Drawing
- Inherits:
-
Object
- Object
- GenerateLotto::Drawing
- Defined in:
- lib/generate_lotto/drawing.rb
Instance Method Summary collapse
Instance Method Details
#draw ⇒ Object
5 6 7 |
# File 'lib/generate_lotto/drawing.rb', line 5 def draw (0..60).to_a.sample(GenerateLotto.configuration.count) end |