Skip to content

Instantly share code, notes, and snippets.

@arjunvenkat
Last active August 29, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arjunvenkat/fade1ea5d78d0f50b5cd to your computer and use it in GitHub Desktop.
Save arjunvenkat/fade1ea5d78d0f50b5cd to your computer and use it in GitHub Desktop.
Ruby conceptual review

Define the following terms:

  • integer
  • string
  • array
  • hash
  • loop
  • conditional logic
  • class
  • method
  • instance variable
  • return statement
  • getter method

Be able to answer the following questions:

  • What is the difference between an instance variable in a class and an instance variable in a controller?
  • When would you use a hash and when would you use an array?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment