Project

General

Profile

Actions

Feature #9864

closed

Rename 'optparse' to 'optionparser', or the main class OptionParser to OptParse

Added by shevegen (Robert A. Heiler) over 10 years ago. Updated over 10 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:62750]

Description

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


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #13281: [DOC] OptionParser docs leak into class documentation of ObjectClosedstomar (Marcus Stollsteimer)Actions

Updated by shevegen (Robert A. Heiler) over 10 years ago

Currently, we have to do this:

require 'optparse'
OptionParser.new

Updated by nobu (Nobuyoshi Nakada) over 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Applied in changeset r46126.


lib/optionparser.rb

Actions #3

Updated by stomar (Marcus Stollsteimer) almost 8 years ago

  • Related to Bug #13281: [DOC] OptionParser docs leak into class documentation of Object added
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0