Sha256: bad7d68293b1b3dd6608460958ad7cd33aee066e151d94d34cc35973c5ad671c

Contents?: true

Size: 221 Bytes

Versions: 83

Compression:

Stored size: 221 Bytes

Contents

# frozen_string_literal: true

# Basic add on
class Atome
  def /(other)
    value / other
  end

  def *(other)
    value * other
  end

  def -(other)
    value - other
  end

  def +(other)
    value + other
  end
end

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
atome-0.5.7.6.0 lib/atome/extensions/mathematics.rb
atome-0.5.7.5.9 lib/atome/extensions/mathematics.rb
atome-0.5.7.5.4 lib/atome/extensions/mathematics.rb
atome-0.5.7.5.3 lib/atome/extensions/mathematics.rb
atome-0.5.7.5.1 lib/atome/extensions/mathematics.rb
atome-0.5.7.4.8 lib/atome/extensions/mathematics.rb
atome-0.5.7.4.7 lib/atome/extensions/mathematics.rb
atome-0.5.7.4.6 lib/atome/extensions/mathematics.rb
atome-0.5.7.4.3 lib/atome/extensions/mathematics.rb
atome-0.5.7.4.2 lib/atome/extensions/mathematics.rb
atome-0.5.7.3.9 lib/atome/extensions/mathematics.rb
atome-0.5.7.3.6 lib/atome/extensions/mathematics.rb
atome-0.5.7.3.5 lib/atome/extensions/mathematics.rb
atome-0.5.7.3.3 lib/atome/extensions/mathematics.rb
atome-0.5.7.3.2 lib/atome/extensions/mathematics.rb
atome-0.5.7.3.1 lib/atome/extensions/mathematics.rb
atome-0.5.7.3.0 lib/atome/extensions/mathematics.rb
atome-0.5.7.1.8 lib/atome/extensions/mathematics.rb
atome-0.5.7.1.7 lib/atome/extensions/mathematics.rb
atome-0.5.7.1.0 lib/atome/extensions/mathematics.rb