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

Methods

new  

Classes and Modules

Class GetoptLong::DSL

External Aliases

initialize -> init

Public Class methods

[Source]

# File lib/lore/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

[Validate]