lib/storage/config.rb in storage-0.1.0 vs lib/storage/config.rb in storage-0.1.1
- old
+ new
@@ -27,10 +27,10 @@
end
# Override setter so we can automatically define the strategy class
# based on its registered name.
def self.strategy=(strategy)
- self.strategy_class = eval(Storage::Strategies::STRATEGIES[strategy])
+ @strategy_class = eval(Storage::Strategies::STRATEGIES[strategy])
@strategy = strategy
end
end
end