Sha256: e9a80532c0b11333c3e72650959fff0f759959e0a93c1ce698effb15aa420334
Contents?: true
Size: 375 Bytes
Versions: 3
Compression:
Stored size: 375 Bytes
Contents
# frozen_string_literal: true class Grumlin::Expressions::TextP < Grumlin::Expressions::P class << self [:containing, :endingWith, :notContaining, :notEndingWith, :notStartingWith, :startingWith].each do |predicate| define_method predicate do |*args| Grumlin::Expressions::P::Predicate.new("TextP", predicate, value: args[0]) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
grumlin-1.2.0 | lib/grumlin/expressions/text_p.rb |
grumlin-1.1.0 | lib/grumlin/expressions/text_p.rb |
grumlin-1.0.4 | lib/grumlin/expressions/text_p.rb |