Method: ArgumentSpecification::Matchers::CaseEqual#initialize
- Defined in:
- lib/argspec/matchers/case_equal.rb
#initialize(expected) ⇒ CaseEqual
Create a new matcher instance
Arguments:
expected: (Object)
Example:
>> ArgumentSpecification::Matchers::CaseEqual.new(:test)
=> #<ArgumentSpecification::Matchers::CaseEqual:0x00000000000000 @expected=:test>
17 18 19 |
# File 'lib/argspec/matchers/case_equal.rb', line 17 def initialize(expected) @expected = expected end |