Sha256: 75582dcfdc6604f7d02893faa35987220bd9832c50af22435c657281cfc7ec9e
Contents?: true
Size: 559 Bytes
Versions: 81
Compression:
Stored size: 559 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, selector) apply(expr, name, value, expr, selector) 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, _ctx); expr; end end end end end
Version data entries
81 entries across 68 versions & 5 rubygems