Sha256: fa461a8ae01ad94beff1122de22c519a96da6a6ff9a469eb9177feb55d0a06f9

Contents?: true

Size: 153 Bytes

Versions: 17

Compression:

Stored size: 153 Bytes

Contents

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
pio-0.30.0 lib/pio/monkey_patch/integer/base_conversions.rb
pio-0.29.0 lib/pio/monkey_patch/integer/base_conversions.rb
pio-0.28.1 lib/pio/monkey_patch/integer/base_conversions.rb
pio-0.28.0 lib/pio/monkey_patch/integer/base_conversions.rb
pio-0.27.2 lib/pio/monkey_patch/integer/base_conversions.rb
pio-0.27.1 lib/pio/monkey_patch/integer/base_conversions.rb
pio-0.27.0 lib/pio/monkey_patch/integer/base_conversions.rb
pio-0.26.0 lib/pio/monkey_patch/integer/base_conversions.rb
pio-0.25.0 lib/pio/monkey_patch/integer/base_conversions.rb
pio-0.24.2 lib/pio/monkey_patch/integer/base_conversions.rb
pio-0.24.1 lib/pio/monkey_patch/integer/base_conversions.rb
pio-0.24.0 lib/pio/monkey_patch/integer/base_conversions.rb
pio-0.23.1 lib/pio/monkey_patch/integer/base_conversions.rb
pio-0.23.0 lib/pio/monkey_patch/integer/base_conversions.rb
pio-0.22.0 lib/pio/monkey_patch/integer/base_conversions.rb
pio-0.21.1 lib/pio/monkey_patch/integer/base_conversions.rb
pio-0.21.0 lib/pio/monkey_patch/integer/base_conversions.rb