Skip to content

Instantly share code, notes, and snippets.

@AkiraBrand
Last active June 18, 2018 03:32
Show Gist options
  • Select an option

  • Save AkiraBrand/3cb0bcef658bac3e0828648d0a790cb2 to your computer and use it in GitHub Desktop.

Select an option

Save AkiraBrand/3cb0bcef658bac3e0828648d0a790cb2 to your computer and use it in GitHub Desktop.
How do you call a funciton and store a result in the variable?
Describe the purpose of the following in Ruby classes: initialize method, new method, instance variables.
@AkiraBrand
Copy link
Author

loops_program

@AkiraBrand
Copy link
Author

summary_basics rb

This is the program from the Summary:Basics section of the RailsBridge tutorial. Exceedingly simple, but functional.

@AkiraBrand
Copy link
Author

voting rb

A somewhat more complex program from Summary:Basics of the RailsBridge tutorial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment