class Tengu::CompositeMatcher
Public Instance Methods
<(value)
click to toggle source
# File lib/tengu/composite_matcher.rb, line 15 def < value Matcher.new("be less than #{value.inspect}") { |object| object < value } end
<=(value)
click to toggle source
# File lib/tengu/composite_matcher.rb, line 19 def <= value Matcher.new("be less than or equal to #{value.inspect}") { |object| object <= value } end
>(value)
click to toggle source
# File lib/tengu/composite_matcher.rb, line 7 def > value Matcher.new("be greater than #{value.inspect}") { |object| object > value } end
>=(value)
click to toggle source
# File lib/tengu/composite_matcher.rb, line 11 def >= value Matcher.new("be greater than or equal to #{value.inspect}") { |object| object >= value } end
matches?(object)
click to toggle source
# File lib/tengu/composite_matcher.rb, line 3 def matches?(object) object end