RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Ruby Basics - Videos on Methods & Conditions

Two beginner-level videos covering basic syntax of Methods (5:50) and Conditions (6:40). The Methods video covers basic syntax rules of methods in Ruby including using ‘def’ and ‘end’; the optional ‘return’ keyword; naming conventions for boolean methods (?), destructive methods (!) and setters (=); using default arguments and a variable number of arguments; and, the alias keyword. The Conditions video discusses syntax rules for: if, elsif, else, unless, the ternary operator and case statements.

Comments

The methods video does not play. It complains that it is “private.”

Fixed. Thanks for letting me know.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in