module ActionView::Helpers::Tags::Checkable

def input_checked?(object, options)

:nodoc:
:nodoc:
def input_checked?(object, options)
  if options.has_key?("checked")
    checked = options.delete "checked"
    checked == true || checked == "checked"
  else
    checked?(value(object))
  end
end