/usr/lib/ruby/vendor_ruby/capybara/rack_test/css_handlers.rb is in ruby-capybara 2.2.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | class Capybara::RackTest::CSSHandlers
def disabled list
list.find_all { |node| node.has_attribute? 'disabled' }
end
def enabled list
list.find_all { |node| !node.has_attribute? 'disabled' }
end
end
|