Sha256: 44764ca5ea0c801fcdc09eeaccd42fef8ef8574f0ca12ca36c60b12d921365bb
Contents?: true
Size: 203 Bytes
Versions: 1
Compression:
Stored size: 203 Bytes
Contents
class TrueClass #format accepts (C-Capitalized, U-Uppercase, L-Lowercase) def to_yes_no(options={}) value = options.fetch(:if_yes, "Yes") FalseClass.format_to_yes_no(value, options) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
corelib-0.0.7 | lib/corelib/boolean/true.rb |