Class: Lookout::Mock::Method::Calls::Lower
Instance Method Summary collapse
-
#initialize(method, limit) ⇒ Lower
constructor
A new instance of Lower.
Methods included from Class
Methods included from Instance
Constructor Details
#initialize(method, limit) ⇒ Lower
Returns a new instance of Lower.
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 |