| Paste number 44385: | Singleton |
| Pasted by: | rsinger |
| 1 year, 5 months ago | |
| #code4lib | |
| Paste contents: |
| # Dear jrochkind, save me as lib/populator.rb class Populator private_class_method :new @@mystuff = nil def self.add @@mystuff = [] unless @@mystuff @@mystuff << Time.now end def self.report return @@mystuff end end |
This paste has no annotations.