class Integer

Public Instance Methods

bin() click to toggle source
# File lib/humansiz.rb, line 125
def bin
  to_s 0b10
end
hex() click to toggle source
# File lib/humansiz.rb, line 119
def hex
  to_s 0x10
end
oct() click to toggle source
# File lib/humansiz.rb, line 122
def oct
  to_s 010
end