Module: ArgsParser

### Home Classes Methods

### In Files

- lib/args_parser/config.rb
- lib/args_parser/error.rb
- lib/args_parser/filter.rb
- lib/args_parser/main.rb
- lib/args_parser/parser.rb
- lib/args_parser/styles/default.rb
- lib/args_parser/styles/equal.rb
- lib/args_parser/validator.rb
- lib/args_parser/version.rb

### Namespace

- CLASS ArgsParser::Config
- CLASS ArgsParser::Filter
- CLASS ArgsParser::Parser
- CLASS ArgsParser::ValidationError
- CLASS ArgsParser::Validator

### Methods

- ::parse

### Class/Module Index

Quicksearch

- ArgsParser
- ArgsParser::Config
- ArgsParser::Filter
- ArgsParser::Parser
- ArgsParser::ValidationError
- ArgsParser::Validator

No matching classes.

# ArgsParser

### Constants

VERSION

### Public Class Methods

parse(argv=[], config={}, &block) click to toggle source

    # File lib/args_parser/main.rb, line 3
    def self.parse(argv=[], config={}, &block)
      Config::DEFAULT.each do |k,v|
        config[k] = v unless config[k]
      end
      parser = Parser.new(config, &block)
      parser.parse argv
      parser
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.