Sha256: bcd02334f3d7f4c4ce755377b4b38e800e75405f175e230f4b7087eafbef6b55

Contents?: true

Size: 156 Bytes

Versions: 1

Compression:

Stored size: 156 Bytes

Contents

module MonkeyPatch
  module Integer
    # to_hex etc.
    module BaseConversions
      def to_hex
        format '0x%02x', self
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pio-0.30.1 lib/pio/monkey_patch/integer/base_conversions.rb