lib/cubbyhole.rb in cubbyhole-0.1.0 vs lib/cubbyhole.rb in cubbyhole-0.1.1
- old
+ new
@@ -19,9 +19,13 @@
id = @next_id
@next_id += 1
id
end
+ def self.all
+ objs.values
+ end
+
def self.objs
@objs ||= {}
end
def initialize(params={})