Sha256: 6c5b934a2e730ff37f6bf872f79cb0ee103f67a8096213c4d6c48374aed27ea2
Contents?: true
Size: 330 Bytes
Versions: 17
Compression:
Stored size: 330 Bytes
Contents
# frozen_string_literal: true if Lite::Ruby.configuration.monkey_patches.include?('boolean') class FalseClass def to_bool self end alias to_b to_bool def to_i 0 end end class TrueClass def to_bool self end alias to_b to_bool def to_i 1 end end end
Version data entries
17 entries across 17 versions & 1 rubygems