Skip to content

Commit

Permalink
restored useless backwards compatibility hack
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdefreyne committed Jun 12, 2011
1 parent 5d01e43 commit 995a5a7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/nanoc3/cli/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,7 @@ def global_option_definitions
end

# @see Cri::Base#handle_option
def handle_option(*args)
key, value, command = *args # for backwards compatibility

def handle_option(key, value, command)
case key
when :version
gem_info = defined?(Gem) ? "with RubyGems #{Gem::VERSION}" : "without RubyGems"
Expand Down

0 comments on commit 995a5a7

Please sign in to comment.