Skip to end of metadata
Go to start of metadata

Ruby is a dynamic, interpreted, reflective, object-oriented, general-purpose programming language. It was designed and developed in the mid-1990s by Yukihiro "Matz" Matsumoto in Japan. According to the creator, Ruby was influenced by Perl, Smalltalk, Eiffel, Ada, and Lisp.

Example Code in Ruby

# The Greeter class
class Greeter
  def initialize(name)
    @name = name.capitalize

  def salute
    puts "Hello #{@name}!"

# Create a new object
g ="world")

# Output "Hello World!"

To learn about Ruby, please refer

Other Ruby solutions: