In Files

Parent

Methods

Files

ROpt::ParseResult

Attributes

args[R]

(Not documented)

options[R]

(Not documented)

Public Class Methods

new(args, options) click to toggle source

(Not documented)

# File ropt.rb, line 8
    def initialize(args, options)
      @args, @options = args, options
    end

Public Instance Methods

[](key) click to toggle source

(Not documented)

# File ropt.rb, line 12
    def [](key)
      case key
      when Fixnum; @args[key]
      when Symbol; @options.fetch(key.to_s)
      when String; @options.fetch(key)
      else; raise(TypeError, "Not suitable for key: #{key}")
      end
    end

Disabled; run with $DEBUG to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.