This file is indexed.

/usr/lib/ruby/vendor_ruby/mechanize/form/check_box.rb is in ruby-mechanize 2.7.2-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
 9
10
11
12
13
14
15
16
17
18
##
# This class represents a check box found in a Form.  To activate the CheckBox
# in the Form, set the checked method to true.

class Mechanize::Form::CheckBox < Mechanize::Form::RadioButton

  def query_value
    [[@name, @value || "on"]]
  end
  
  def inspect # :nodoc:
    "[%s:0x%x type: %s name: %s value: %s]" % [
      self.class.name.sub(/Mechanize::Form::/, '').downcase,
      object_id, type, name, checked
    ]
  end

end