Class: BaconExpect::Matcher::Eql
- Inherits:
-
SingleMethod
- Object
- SingleMethod
- BaconExpect::Matcher::Eql
- Defined in:
- lib/bacon-expect/matchers/eql.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ Eql
constructor
A new instance of Eql.
Methods inherited from SingleMethod
#fail!, #fail_message, #matches?
Constructor Details
#initialize(value) ⇒ Eql
Returns a new instance of Eql.
3 4 5 |
# File 'lib/bacon-expect/matchers/eql.rb', line 3 def initialize(value) super(:eql?, value) end |