Skip to content

Instantly share code, notes, and snippets.

@gavinmcgimpsey
Created October 5, 2015 18:28
Show Gist options
  • Save gavinmcgimpsey/584cb861cf2df8979ec3 to your computer and use it in GitHub Desktop.
Save gavinmcgimpsey/584cb861cf2df8979ec3 to your computer and use it in GitHub Desktop.
module Bed
@bed = []
def load_bed(obj)
@bed << obj
end
def display_bed_contents
@bed.each {|thing| puts thing}
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment