Skip to content

Instantly share code, notes, and snippets.

Last active March 29, 2016 21:50
What would you like to do?
class Shelf
def store(book)
length = book.length
width = book.width
depth = book.depth
# logic to find the nearest spot that can accomodate the given dimensions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment