Standard Library Packages in Ruby
This is a list of standard library packages in Ruby
Read tutorialTHE TUTORIAL LIBRARY
This is a list of standard library packages in Ruby
Read tutorialThis ?: construct is called either the question mark operator or, more question mark operator often, the ternary operator. ("Ternary" because it uses three expres- ternary operator
Read tutorialThe word "unless" is in the English language for a reason. Contrast "unless the judge is unfair, you'll win" with "if the judge is not unfair, you'll win." Negations - especially n
Read tutorialHere is Ruby's if statement in all its glory, wrapped in a method:
Read tutorialRuby methods let you create new verbs (messages) in the Ruby lan- methods guage. It's a bit confusing that two closely related ideas—messages and methods—have such similar name
Read tutorialCommand-line arguments are available as strings in the array named ARGV. For example, consider this command line:
Read tutorialA Ruby name may contain letters, numbers, and the underscore character (not a hyphen). Names can't begin with a number, nor may they include spaces. Case matters: my_ship is not th
Read tutorialThere are two kinds of prompts command-line prompts and irb prompts. If you type a command meant for the command-line interpreter to irb (or vice versa), you'll get confusing resul
Read tutorialThere is a one-click Ruby installer. You can find it here: http://www.ruby-lang.org/en/downloads/. After you download it, double-click it in Windows Explorer to run it, and then fo
Read tutorialOne example today. A better developer tomorrow.