Sha256: 61478cbf37f75f055db3e7bcb5b4899e99f49b935c54eda901511f7851311746

Contents?: true

Size: 102 Bytes

Versions: 3

Compression:

Stored size: 102 Bytes

Contents

module Math

  def self.triangleRandom min: 0, max: 25
    min + (max-min)*(1 - sqrt(rand))
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bob-builder-0.1.2 lib/bob/math.rb
bob-builder-0.1.1 lib/bob/math.rb
bob-builder-0.1.0 lib/bob/math.rb