Module: RunNoMo

Defined in:
lib/run_no_mo.rb,
lib/run_no_mo/limiter.rb,
lib/run_no_mo/version.rb

Defined Under Namespace

Classes: LimitExceeded, Limiter

Constant Summary collapse

VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.limit(times:, within: nil, raises: false) ⇒ Object



6
7
8
# File 'lib/run_no_mo.rb', line 6

def self.limit(times:, within: nil, raises: false)
  Limiter.new(times: times, within: within, raises: raises)
end