Sha256: 845f5a74059f2f2f5916de6ac1c8cfa290f75bb039f656dc29ba5df38a5f54ea

Contents?: true

Size: 137 Bytes

Versions: 6

Compression:

Stored size: 137 Bytes

Contents

module Xi::CoreExt
  module Integer
    def /(o)
      super(o.to_r)
    end
  end
end

class Integer
  prepend Xi::CoreExt::Integer
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
xi-lang-0.2.5 lib/xi/core_ext/integer.rb
xi-lang-0.2.4 lib/xi/core_ext/integer.rb
xi-lang-0.2.3 lib/xi/core_ext/integer.rb
xi-lang-0.2.2 lib/xi/core_ext/integer.rb
xi-lang-0.2.1 lib/xi/core_ext/integer.rb
xi-lang-0.2.0 lib/xi/core_ext/integer.rb