Sha256: ff4ce8ee78b5f3c54abe39af0316f246a98bb283590a1856e3b20c90dc1be92e

Contents?: true

Size: 187 Bytes

Versions: 2

Compression:

Stored size: 187 Bytes

Contents

# frozen_string_literal: true

module FeCoreExt::CoreExt
end

module FeCoreExt::CoreExt::Numeric
  def invert
    -self
  end
end

class Numeric
  include FeCoreExt::CoreExt::Numeric
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fe_core_ext-0.30.0 lib/fe_core_ext/core_ext/numeric.rb
fe_core_ext-0.29.1 lib/fe_core_ext/core_ext/numeric.rb