Permalink
Browse files

Merge pull request #39 from tdreyno/patch-1

Default values are not allowed before required values in Ruby 1.8
  • Loading branch information...
2 parents f2354be + 3b1e16e commit 7272670e51a71709857370e53b1173a641eaaca2 @wycats committed Sep 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rake-pipeline-web-filters/neuter_filter.rb
@@ -1,8 +1,8 @@
module Rake::Pipeline::Web::Filters
class NeuterBatch
- def initialize(config={}, known_files)
- @config = config
+ def initialize(config, known_files)
+ @config = config || {}
@known_files = known_files
@required = []
end

0 comments on commit 7272670

Please sign in to comment.