[ruby-core:62750] [ruby-trunk - Feature #9864] [Open] Rename 'optparse' to 'optionparser', or the main class OptionParser to OptParse

From: shevegen@...
Date: 2014-05-25 16:11:22 UTC
List: ruby-core #62750
Issue #9864 has been reported by Robert A. Heiler.

----------------------------------------
Feature #9864: Rename 'optparse' to 'optionparser', or the main class OptionParser to OptParse
https://bugs.ruby-lang.org/issues/9864

* Author: Robert A. Heiler
* Status: Open
* Priority: Low
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
Hello.

I don't like the inconsistency in the naming of optparse and the class that
we are supposed to use itself.

I think it would be better to do:

  require 'optparse'
  OptParse.new

or

  require 'optionparser'
  OptionParser.new




-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next