Module: MonkeyPatch::Integer::BaseConversions

Included in:
Integer
Defined in:
ruby/trema/monkey-patch/integer/base-conversions.rb

Instance Method Summary collapse

Instance Method Details

#to_hexObject



22
23
24
# File 'ruby/trema/monkey-patch/integer/base-conversions.rb', line 22

def to_hex
  "%#x" % self
end