Method: BeAnInstanceOfMatcher#initialize
- Defined in:
- lib/mspec/matchers/be_an_instance_of.rb
#initialize(expected) ⇒ BeAnInstanceOfMatcher
Returns a new instance of BeAnInstanceOfMatcher.
2 3 4 |
# File 'lib/mspec/matchers/be_an_instance_of.rb', line 2 def initialize(expected) @expected = expected end |