Skip to content

Instantly share code, notes, and snippets.

Created October 9, 2014 21:58
# not thread safe?!
class College
def self.list
@list ||= []
end
def self.generate_list
SOME_SOURCE.each do |college|
College.list << college
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment