Sha256: 2a846457debff3be128abe5499400644eaa27d01e32c85890a06699fc97b41f7

Contents?: true

Size: 105 Bytes

Versions: 13

Compression:

Stored size: 105 Bytes

Contents

module MinMaxHelpers
  def min(a,b)
    a < b ? a : b
  end
  def max(a,b)
    a > b ? a : b
  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
gamebox-0.5.5 lib/gamebox/lib/min_max_helpers.rb
gamebox-0.5.4 lib/gamebox/lib/min_max_helpers.rb
gamebox-0.5.2 lib/gamebox/lib/min_max_helpers.rb
gamebox-0.5.1 lib/gamebox/lib/min_max_helpers.rb
gamebox-0.5.0 lib/gamebox/lib/min_max_helpers.rb
gamebox-0.4.1 lib/gamebox/lib/min_max_helpers.rb
gamebox-0.4.0 lib/gamebox/lib/min_max_helpers.rb
gamebox-0.4.0.rc11 lib/gamebox/lib/min_max_helpers.rb
gamebox-0.4.0.rc5 lib/gamebox/lib/min_max_helpers.rb
gamebox-0.4.0.rc4 lib/gamebox/lib/min_max_helpers.rb
gamebox-0.4.0.rc3 lib/gamebox/lib/min_max_helpers.rb
gamebox-0.4.0.rc2 lib/gamebox/lib/min_max_helpers.rb
gamebox-0.4.0.rc1 lib/gamebox/lib/min_max_helpers.rb