module ActionView::Helpers::Tags::Checkable

def input_checked?(options)

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