class Proc
Contains patches to Ruby’s core classes.
Public Instance Methods
proc * n → n
click to toggle source
Runs self
for n
times.
# File lib/alda-rb/patches.rb, line 221 def * n if !lambda? || arity == 1 n.times &self else n.times { self.() } end end