Sha256: 4d461b0578f3ab626c4434593dd17d7c1cd84a51f0a9025c63129e21f598019a
Contents?: true
Size: 219 Bytes
Versions: 5
Compression:
Stored size: 219 Bytes
Contents
module MPatch 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
mpatch-2.2.1 | lib/mpatch/integer.rb |
mpatch-2.1.3 | lib/mpatch/integer.rb |
mpatch-2.1.0 | lib/mpatch/integer.rb |
mpatch-2.0.1 | lib/mpatch/integer.rb |
mpatch-2.0.0 | lib/mpatch/integer.rb |