1
0
Fork 0
forked from OpenNeo/impress
impress/app/models/static_resource.rb

11 lines
137 B
Ruby

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