Class: Sinclair::Matchers::ChangeClassMethod Private
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
AddInstanceMethod is able to build an instance of ChangeClassMethodOn
Instance Method Summary collapse
-
#on(target = nil) ⇒ ChangeClassMethodOn
Builds final matcher.
Methods inherited from AddMethod
Methods inherited from Base
#equal?, #initialize, #supports_block_expectations?
Constructor Details
This class inherits a constructor from Sinclair::Matchers::Base
Instance Method Details
#on(target = nil) ⇒ ChangeClassMethodOn
Builds final matcher
The matcher checks if a method was added to a class or instance
33 |
# File 'lib/sinclair/matchers/change_class_method.rb', line 33 with_final_matcher :on, ChangeClassMethodOn |