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

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


Currently, we have to do this:

  require 'optparse' 
  OptionParser.new

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

* 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