Class: OptionParser

Inherits:
Object
  • Object
show all
Defined in:
lib/rdf/cli.rb

Instance Method Summary collapse

Instance Method Details

#argsObject

Arguments remaining after extracting options


42
# File 'lib/rdf/cli.rb', line 42

def args; @args || []; end

#args=(value) ⇒ Object


43
# File 'lib/rdf/cli.rb', line 43

def args=(value); @args = value; end

#optionsObject

Actual parsed options


38
# File 'lib/rdf/cli.rb', line 38

def options; @options || {}; end

#options=(value) ⇒ Object


39
# File 'lib/rdf/cli.rb', line 39

def options=(value); @options = value; end