Ruby Snippets

Ruby Details BASH

References

Examples

Programming Ruby /1/

Tools

Examples:

Hello World:

Content (text, utf-8) of the file: hello_world.rb:
puts 'Hello World!'

At command line:
$ ruby hello-world.rb
Hello World!
$

Ruby Details BASH