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