Class: Lookout::Mock::Method::Calls::Lower

Inherits:
Object
  • Object
show all
Extended by:
Class
Includes:
Instance
Defined in:
lib/lookout/mock/method/calls/lower.rb

Instance Method Summary collapse

Methods included from Class

format

Methods included from Instance

#call, #verify

Constructor Details

#initialize(method, limit) ⇒ Lower

Returns a new instance of Lower.

Raises:

  • (ArgumentError)


12
13
14
15
# File 'lib/lookout/mock/method/calls/lower.rb', line 12

def initialize(method, limit)
  raise ArgumentError, 'limit must be > 0' unless limit > 0
  super
end