Ruby: Open Classes
The concpet of extending existing classes in ruby (including those in the standard library) is called Open Classes. Here is an example.
# Extend the String class with a new method called my_new_method
class String
def my_new_method()
end
end