class Integer

Public Instance Methods

to_string(length, base = 10) click to toggle source
# File lib/omu_support/core_ext/integer.rb, line 4
def to_string(length, base = 10)
  to_s(base).upcase.rjust(length, '0')
end