Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: v4.0.1.rc2
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (16 sloc) 0.383 kb
module ActionView
module Helpers
module Tags # :nodoc:
module Checkable # :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
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.