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

[View source]

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

def args; @args || []; end

#args=(value) ⇒ Object

[View source]

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

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

#optionsObject

Actual parsed options

[View source]

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

def options; @options || {}; end

#options=(value) ⇒ Object

[View source]

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

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