class Capybara::RSpecMatchers::Matchers::MatchStyle
def description
def description 'match style' end
def does_not_match?(_actual)
def does_not_match?(_actual) raise ArgumentError, 'The match_style matcher does not support use with not_to/should_not' end
def element_matches?(el)
def element_matches?(el) el.assert_matches_style(*@args, **@kw_args) end
def initialize(styles = nil, **kw_args, &filter_block)
def initialize(styles = nil, **kw_args, &filter_block) styles, kw_args = kw_args, {} if styles.nil? super(styles, **kw_args, &filter_block) end