lib/lopata/condition.rb in lopata-0.1.1 vs lib/lopata/condition.rb in lopata-0.1.2
- old
+ new
@@ -3,11 +3,9 @@
attr_reader :condition, :positive
def initialize(condition, positive: true)
@condition, @positive = condition, positive
end
- EMPTY = new({})
-
alias positive? positive
def match?(scenario)
matched = match_metadata?(scenario)
positive? ? matched : !matched
\ No newline at end of file