class Integer

Public Class Methods

how_antsy_do_you_feel(i) click to toggle source
# File lib/very_ants.rb, line 9
def self.how_antsy_do_you_feel(i)
  @@c = i
end
i_forget_how_antsy_i_feel() click to toggle source
# File lib/very_ants.rb, line 13
def self.i_forget_how_antsy_i_feel
  @@c
end

Public Instance Methods

%(other) click to toggle source
# File lib/very_ants.rb, line 33
def %(other)
  Integer::mod(self, other, @@c)
end
*(other) click to toggle source
# File lib/very_ants.rb, line 25
def *(other)
  Integer::mult(self, other, @@c)
end
+(other) click to toggle source
# File lib/very_ants.rb, line 17
def +(other)
  Integer::plus(self, other, @@c)
end
-(other) click to toggle source
# File lib/very_ants.rb, line 21
def -(other)
  Integer::minus(self, other, @@c)
end
/(other) click to toggle source
# File lib/very_ants.rb, line 29
def /(other)
  Integer::divide(self, other, @@c)
end