Sha256: 0604b04be38f0139d8924af31ba818d1bb420eabc990b1c04acb3b97fcaba9cb
Contents?: true
Size: 533 Bytes
Versions: 18
Compression:
Stored size: 533 Bytes
Contents
# frozen_string_literal: true require 'capybara/selector/filters/base' module Capybara class Selector module Filters class ExpressionFilter < Base def apply_filter(expr, name, value) apply(expr, name, value, expr) end end class IdentityExpressionFilter < ExpressionFilter def initialize(name); super(name, nil, nil); end def default?; false; end def matcher?; false; end def apply_filter(expr, _name, _value); expr; end end end end end
Version data entries
18 entries across 18 versions & 2 rubygems