class ArgumentSpecification::Matchers::Be

Public Instance Methods

matches?() click to toggle source

Check if the actual object matches

Example:

>> matcher.matches?
=> true
# File lib/argspec/matchers/be.rb, line 20
def matches?
  !!@actual
end