Sha256: 26ab8e8bdaa30f83120319c05d800e578f7af39dba429d31fd0070a1bb966fad
Contents?: true
Size: 289 Bytes
Versions: 26
Compression:
Stored size: 289 Bytes
Contents
# frozen_string_literal: true TrueClass.class_eval do # :nodoc: def to_x(*_args) 'X' end end FalseClass.class_eval do # :nodoc: def to_x(unless_true = '') unless_true end end NilClass.class_eval do # :nodoc: def to_x(unless_true = nil) unless_true end end
Version data entries
26 entries across 26 versions & 2 rubygems