Skip to content

Instantly share code, notes, and snippets.

@Arkham
Created January 23, 2013 10:07
Show Gist options
  • Save Arkham/4603934 to your computer and use it in GitHub Desktop.
Save Arkham/4603934 to your computer and use it in GitHub Desktop.
Poldo!
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