Class: Sinclair::Matchers::AddClassMethod 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.
AddClassMethod is able to build an instance of AddClassMethodTo
Instance Method Summary collapse
-
#to(target = nil) ⇒ AddClassMethodTo
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
#to(target = nil) ⇒ AddClassMethodTo
Builds final matcher
The matcher checks if a method was added to a class or instance
34 |
# File 'lib/sinclair/matchers/add_class_method.rb', line 34 with_final_matcher :to, AddClassMethodTo |