projects
/
cs356-p2-videostore.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4c5d38c2142d8003b54d9398536d6ce08c1623ca
[cs356-p2-videostore.git]
/
game.rb
1
class Game < Rentable
2
validates_presence_of :game_genre
3
validates_presence_of :platform
4
5
def checkedout?
6
return Coitem.find_by_id(self.id) ? true : false
7
end
8
end