Class: Range
- Inherits:
-
Object
- Object
- Range
- Defined in:
- lib/bootstripe/number_additions.rb
Instance Method Summary collapse
Instance Method Details
#random ⇒ Object
52 53 54 |
# File 'lib/bootstripe/number_additions.rb', line 52 def random rand * (max - min) + min end |