Class: RSpec::Hanami::MatchStatus
- Inherits:
-
Object
- Object
- RSpec::Hanami::MatchStatus
- Defined in:
- lib/rspec/hanami/match_status.rb
Instance Method Summary collapse
Instance Method Details
#call(actual, expected) ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/rspec/hanami/match_status.rb', line 4 def call(actual, expected) case expected when Numeric actual == expected when Symbol chec_symbol_status(actual, expected) else false end end |