Object
# File lib/mspec/matchers/be_true.rb, line 7 def failure_message ["Expected #{@actual.inspect}", "to be true"] end
# File lib/mspec/matchers/be_true.rb, line 2 def matches?(actual) @actual = actual @actual == true end
# File lib/mspec/matchers/be_true.rb, line 11 def negative_failure_message ["Expected #{@actual.inspect}", "not to be true"] end
[Validate]
Generated with the Darkfish Rdoc Generator 2.