class ArgumentSpecification::Matchers::BeNil
Public Instance Methods
matches?()
click to toggle source
Check if the actual object matches
Example:
>> matcher.matches? => true
# File lib/argspec/matchers/be_nil.rb, line 12 def matches? begin @actual.nil? rescue NoMethodError false end end