Sha256: 7246024aa78e0379ec1cd2293d40ac20ba178f293f1d2c3dc23bd896ef885437
Contents?: true
Size: 308 Bytes
Versions: 8
Compression:
Stored size: 308 Bytes
Contents
module Polyfill module V2_3 module Prime module ClassMethods def prime?(*args) value = args.first unless value.is_a?(::Integer) raise ArgumentError, "Expected an integer, got #{value}" end super end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems