module Integer::Base::IntegerPrepender

Public Instance Methods

to_s(base=10) click to toggle source

@param [Fixnum] base Delegate to standard to_s @return [String]

Calls superclass method
# File lib/integer/base/refinementable.rb, line 22
def to_s(base=10)
  case base
  when Enumerable
    ::Integer::Base.string_for(self, base)
  else
    super(base)
  end
end