Permalink
Browse files

wasn't merging in extra options oops, thanks @gavin

  • Loading branch information...
Philip (flip) Kromer
Philip (flip) Kromer committed Feb 14, 2011
1 parent 5e1c547 commit fd90ae0934c9ee31d9746a08f723f615fbce91e4
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/wukong/script.rb
View
@@ -128,7 +128,7 @@ class Script
def initialize mapper, reducer=nil, extra_options={}
Settings.resolve!
@options = Settings
- options.merge extra_options
+ options.merge! extra_options
@mapper = (case mapper when Class then mapper.new when nil then nil else mapper ; end)
@reducer = (case reducer when Class then reducer.new when nil then nil else reducer ; end)
@output_path = options.rest.pop

0 comments on commit fd90ae0

Please sign in to comment.