Sha256: 15343f702ba0735cd8c29ffc0d4d573f451e37168867771c7c10a43957670217

Contents?: true

Size: 190 Bytes

Versions: 14

Compression:

Stored size: 190 Bytes

Contents

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
trema-0.10.1 lib/trema/monkey_patch/integer/base_conversions.rb
trema-0.10.0 lib/trema/monkey_patch/integer/base_conversions.rb
trema-0.9.0 lib/trema/monkey_patch/integer/base_conversions.rb
trema-0.8.4 lib/trema/monkey_patch/integer/base_conversions.rb
trema-0.8.3 lib/trema/monkey_patch/integer/base_conversions.rb
trema-0.8.2 lib/trema/monkey_patch/integer/base_conversions.rb
trema-0.8.1 lib/trema/monkey_patch/integer/base_conversions.rb
trema-0.8.0 lib/trema/monkey_patch/integer/base_conversions.rb
trema-0.7.1 lib/trema/monkey_patch/integer/base_conversions.rb
trema-0.7.0 lib/trema/monkey_patch/integer/base_conversions.rb
trema-0.6.0 lib/trema/monkey_patch/integer/base_conversions.rb
trema-0.5.1 lib/trema/monkey_patch/integer/base_conversions.rb
trema-0.5.0 lib/trema/monkey_patch/integer/base_conversions.rb
trema-0.4.8 lib/trema/monkey_patch/integer/base_conversions.rb