lib/surrounded/context.rb in surrounded-0.9.5 vs lib/surrounded/context.rb in surrounded-0.9.6
- old
+ new
@@ -116,10 +116,10 @@
self.class.triggers
end
def rebind(options_hash)
clear_instance_variables
- initialize(options_hash.to_a)
+ initialize(options_hash)
rescue ArgumentError
initialize(*options_hash.values)
self
end
\ No newline at end of file