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



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

def args; @args || []; end

#args=(value) ⇒ Object



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

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

#optionsObject

Actual parsed options



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

def options; @options || {}; end

#options=(value) ⇒ Object



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

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