Created
January 28, 2011 22:40
-
-
Save jakehow/801158 to your computer and use it in GitHub Desktop.
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
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