Class: Float
Overview
Some extentions to the core Float class
Class Method Summary collapse
-
.generate(*_args) ⇒ Float
Randomly generate a Float instance.
Class Method Details
.generate(*_args) ⇒ Float
Randomly generate a Float instance
43 44 45 |
# File 'lib/ext_core.rb', line 43 def self.generate(*_args) Random.rand(10e10) end |