module MonkeyPatch::Integer::BaseConversions

to_hex etc.

Public Instance Methods

to_hex() click to toggle source
# File lib/pio/monkey_patch/integer/base_conversions.rb, line 7
def to_hex
  format '0x%02x', self
end