Sha256: 84b6eef66f62a60488eddd6dd2c56af6cc935c5c862a781dca74fe249574b614

Contents?: true

Size: 221 Bytes

Versions: 8

Compression:

Stored size: 221 Bytes

Contents

module Polyfill
  module V2_2
    module Prime
      module ClassMethods
        def prime?(*args)
          value = args.first
          return false if value < 0

          super
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
polyfill-1.9.0 lib/polyfill/v2_2/prime.rb
polyfill-1.8.0 lib/polyfill/v2_2/prime.rb
polyfill-1.7.0 lib/polyfill/v2_2/prime.rb
polyfill-1.6.0 lib/polyfill/v2_2/prime.rb
polyfill-1.5.0 lib/polyfill/v2_2/prime.rb
polyfill-1.4.0 lib/polyfill/v2_2/prime.rb
polyfill-1.3.0 lib/polyfill/v2_2/prime.rb
polyfill-1.2.0 lib/polyfill/v2_2/prime.rb