1
0
Fork 0
forked from OpenNeo/impress
impress/app/models/static_resource.rb
2011-01-27 16:35:46 -05:00

15 lines
181 B
Ruby

class StaticResource
attr_accessor :id, :name
def self.all
@objects
end
def self.find(id)
@objects[id-1]
end
def self.count
@objects.size
end
end