FANDOM


Ruby is a dynamic and object-oriented programming language developed by Yukihiro “matz” Matsumoto in Japan. Since its first release in 1995,Template:Citation needed Ruby has seen tremendous growth in adoption thanks in-part to its gain in popularity through web frameworks.

Ruby InterpretersEdit

There are several interpreters for the Ruby language.

  • MRI Ruby (or C Ruby) is the original interpreter and specification implementation
  • JRuby (or Java Ruby) runs on the Java JVM and allows programmers to mix Java and Ruby.
  • IronRuby for Microsoft .NET

Example Ruby CodeEdit

#!/bin/env ruby

def hello(name)
  puts "Hello, #{name}"
end

def askname
  name = gets.chomp
end

hello(askname)

Extending Ruby with GemsEdit

The core ruby API provides many useful functions. To extend ruby's functionality, ruby has a package management system that allows the simple addition of libraries and helper programs through a program called 'gem'. Gems can be searched, installed, removed, etc using a command line tool.

Applications written in RubyEdit

  • OpenTelegard/2

Web Frameworks Edit

MerbEdit

NitroEdit

RamazeEdit

Ramaze is an MVC framework for Ruby with a focus on simplicity, flexibility, and choice.

Ruby on RailsEdit

Ruby on Rails is perhaps the most well known of the Frameworks. Using an MVC paradigm, Rails allows rapid development of Web 2.0 applications. see Ruby on Rails

SinatraEdit

Sinatra is DSL for rapidly creating RESTful applications.

WavesEdit

See Also Edit

External Links Edit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.