class ArgumentSpecification::Matchers::BeTruthy

Public Instance Methods

matches?() click to toggle source

Check if the actual object matches

Example:

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