Sha256: dc636719a8f5fe2f77be10cb2ee6795948cfbe89740455f338822dc34252b9b9
Contents?: true
Size: 398 Bytes
Versions: 255
Compression:
Stored size: 398 Bytes
Contents
# frozen_string_literal: true module ActionView module Helpers module Tags # :nodoc: module Checkable # :nodoc: def input_checked?(options) if options.has_key?("checked") checked = options.delete "checked" checked == true || checked == "checked" else checked?(value) end end end end end end
Version data entries
255 entries across 242 versions & 17 rubygems