Fix Sword::CLI.on method for Ruby 1.8