Class: OptionParser

Inherits:
Object show all
Defined in:
vendor/bundler/ruby/2.5.0/bundler/gems/rdf-1b20f426c35b/lib/rdf/cli.rb

Instance Method Summary collapse

Instance Method Details

#argsObject

Arguments remaining after extracting options



25
# File 'vendor/bundler/ruby/2.5.0/bundler/gems/rdf-1b20f426c35b/lib/rdf/cli.rb', line 25

def args; @args || []; end

#args=(value) ⇒ Object



26
# File 'vendor/bundler/ruby/2.5.0/bundler/gems/rdf-1b20f426c35b/lib/rdf/cli.rb', line 26

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

#optionsObject

Actual parsed options



21
# File 'vendor/bundler/ruby/2.5.0/bundler/gems/rdf-1b20f426c35b/lib/rdf/cli.rb', line 21

def options; @options || {}; end

#options=(value) ⇒ Object



22
# File 'vendor/bundler/ruby/2.5.0/bundler/gems/rdf-1b20f426c35b/lib/rdf/cli.rb', line 22

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