Skip to content

Instantly share code, notes, and snippets.

@RookieOne
Last active August 29, 2015 14:06
Show Gist options
  • Save RookieOne/6bb7f47d92c4ef22a85b to your computer and use it in GitHub Desktop.
Save RookieOne/6bb7f47d92c4ef22a85b to your computer and use it in GitHub Desktop.
Iron Yard Day 1 - Rails Homework
# Submit the homework by pasting the code in a gist and emailing JB the url to the gist
# Assign "Hello World" to a variable message
# Assign a different string to a different variable
# Assign a number to a variable
# Use string interpolation to display the number in a string
# string interpolation = #{}
# Make an array of your favorite movies or books or bands. Have at least 4 values.
# Make a hash of information about yourself. Have at least 4 keys+values
# BONUS 1
# Make a blog and share the url in your homework
# BONUS 2
# Make an array of hashes containing more information
# about your favorite movies. The hash should have at least 3 keys+values
# BONUS 3
# Use .each to loop through the array of hashes and print only one property of the hash
# For example { title: "Gone with the Wind" } loop through and print only the [:title]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment