Class GetoptLong
In: lib/more/facets/getoptlong.rb
Parent: Object

Methods

new  

Classes and Modules

Class GetoptLong::DSL

External Aliases

initialize -> init

Public Class methods

[Source]

    # File lib/more/facets/getoptlong.rb, line 37
37:   def initialize(*arguments, &block)
38:     if block_given?
39:       raise ArgumentError unless arguments.empty?
40:       arguments = DSL.new(&block).arguments
41:     end
42:     init(*arguments)
43:   end

[Validate]