Jump to content

Programming Fundamentals/Introduction/Ruby

From Wikiversity

hello.rs

[edit | edit source]
# This program displays "Hello world!"
#
# References:
#     https://en.wikibooks.org/wiki/Ruby_Programming/Hello_world

puts 'Hello world!'

Try It

[edit | edit source]

Copy and paste the code above into one of the following free online development environments or use your own Ruby compiler / interpreter / IDE.

See Also

[edit | edit source]