Skip to content

Instantly share code, notes, and snippets.

@erubboli
Created August 27, 2010 10:04
Show Gist options
  • Save erubboli/553134 to your computer and use it in GitHub Desktop.
Save erubboli/553134 to your computer and use it in GitHub Desktop.
#test
class Logger
def warning( msg )
#...
end
end
#production
class SingletonLogger < Logger
include Singleton
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment