Created
January 23, 2013 10:07
-
-
Save Arkham/4603934 to your computer and use it in GitHub Desktop.
Poldo!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Poldo | |
cattr_accessor :sausages | |
def self.all | |
@sausages ||= SausageFetcher.fetch! | |
end | |
def self.reload! | |
@sausages = SausageFetcher.fetch! | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment