class GetoptLong

Public Class Methods

new(*arguments, &block) click to toggle source
# File lib/more/facets/getoptlong.rb, line 37
def initialize(*arguments, &block)
  if block_given?
    raise ArgumentError unless arguments.empty?
    arguments = DSL.new(&block).arguments
  end
  init(*arguments)
end
Also aliased as: init

Public Instance Methods

init(*arguments, &block)
Alias for: new