Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
table_array = [
["brand", "year", "color"],
["specialized", 2001, "blue"],
["bianchi", 1999, "silver"] ,
["yetti", 2016, "red"]
]
# Driver Code
instantiate_bikes(table_array) #=> [<Bike>, <Bike>, <Bike>, ...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment