Class Vcs::OptParse
In: lib/vcs/opt_parse.rb
Parent: Object

Methods

new   parse   parse!   to_s  

Attributes

option_parser  [R] 

Public Class methods

[Source]

# File lib/vcs/opt_parse.rb, line 13
    def initialize
      @option_parser = @@option_parser.dup
    end

Public Instance methods

[Source]

# File lib/vcs/opt_parse.rb, line 21
    def parse ( argv )
      @option_parser.parse argv
    end

[Source]

# File lib/vcs/opt_parse.rb, line 17
    def parse! ( argv )
      @option_parser.parse! argv
    end

[Source]

# File lib/vcs/opt_parse.rb, line 25
    def to_s
      @option_parser.to_s
    end

[Validate]