
Explore how to use the Replicate editor to run Ruby code, understand comments, variables, strings, and the print function, and see Hello Ruby printed as output.
Explore Ruby syntax by mastering variables and objects. Learn variable naming with snake_case, and call built-in string and number methods such as upcase and even? on real examples.
Begin by greeting the player and prompting for their name, then capture input with gets, print a welcome message using puts, and explore string concatenation and interpolation in Ruby.
Convert strings to integers using the to_i method, capture user input with gets and chomp, and compare the guess to the total jelly beans in Ruby.
Hello Ruby is not the only Ruby course you should ever take but it should be your first!
Here are a few reasons why you might want to learn Ruby:
It is beginner friendly. Ruby was a programming language built for people. It was meant to have a low learning curve so beginners could get started right away!
It is incredibly popular among developers. It is the third most tagged programming language on GitHub.
High work demand. It is listed as the fourth most popular programming language on Angel List, a premier site for Startups.
This is an early release of the course. There will be much more coming in the next few months but it is already loaded with great content :)
Here are a few things you will learn in just the first two hours:
* Ruby expressions
* Ruby variables
* Ruby strings
* Ruby escape sequence in strings
* Ruby method converting strings to numbers
* Ruby numbers
* Ruby math operations and comparisons
* Ruby method converting numbers to strings
* Ruby methods on an object
* Ruby comments
* Ruby "puts" and "print"
* Ruby "gets"
* Ruby input, storage and output
* Ruby string interpolation
* Ruby object inspection with "inspect" and "p" methods
* Ruby conditionals
* Ruby loops - for and while
We will learn about all of these while building our first program! This course teaches you the language of Ruby and then gives you an opportunity to speak, program, in that language.
Hello Ruby isn't the only course you should ever take but it should be your first!
Welcome to Hello Ruby!