diff --git a/lib/compass/exec/command_option_parser.rb b/lib/compass/exec/command_option_parser.rb index 3e1a7b43..0475a8a5 100644 --- a/lib/compass/exec/command_option_parser.rb +++ b/lib/compass/exec/command_option_parser.rb @@ -9,7 +9,9 @@ module Compass::Exec opts.parse!(arguments) end def opts - OptionParser.new(&method(:set_options)) + OptionParser.new do |opts| + self.set_options(opts) + end end def set_options(opts)