Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jakehow
Created January 28, 2011 22:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakehow/801158 to your computer and use it in GitHub Desktop.
Save jakehow/801158 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'redis'
require 'toystore'
require 'adapter/redis'
class BrokenInitialize
include Toy::Store
store :redis, Redis.new
attribute :test, String
def initialize(*args)
self.test = 'default value'
super
end
end
BrokenInitialize.new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment