lib/grumlin/expressions/text_p.rb in grumlin-1.0.3 vs lib/grumlin/expressions/text_p.rb in grumlin-1.0.4
- old
+ new
@@ -2,10 +2,10 @@
class Grumlin::Expressions::TextP < Grumlin::Expressions::P
class << self
[:containing, :endingWith, :notContaining, :notEndingWith, :notStartingWith, :startingWith].each do |predicate|
define_method predicate do |*args|
- P::Predicate.new("TextP", predicate, value: args[0])
+ Grumlin::Expressions::P::Predicate.new("TextP", predicate, value: args[0])
end
end
end
end