VERSION | = | "3.6.4" unless const_defined? :VERSION | ||
MOST_EXTREME_OBJECT_EVER | = | Object.new # :nodoc: | ||
Undefined | = | Object.new | Used internally to make it easy to deal with optional arguments (from Rubinius) |
Safe alias_method that will only alias if the source exists and destination doesn‘t
Modified to avoid polluting Module if so desired (from Rails)
Helper method to coerce a value into a specific class. Raises a TypeError if the coercion fails or the returned value is not of the right class. (from Rubinius)
Checks for a failed comparison (in which case it throws an ArgumentError) Additionally, it maps any negative value to -1 and any positive value to +1 (from Rubinius)