Sha256: 91701fae822543af9ed816d2331494e565185f65aa627d46cdd235e99df3dd7e
Contents?: true
Size: 228 Bytes
Versions: 2
Compression:
Stored size: 228 Bytes
Contents
module MPatch::Include module Integer # because for i in integer/fixnum not working, # here is a little patch def each &block self.times do |number| block.call number end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mpatch-2.3.0 | lib/mpatch/integer.rb |
mpatch-2.2.4 | lib/mpatch/integer.rb |