Class: OptionParser

Inherits:
Object show all
Defined in:
vendor/bundler/ruby/3.0.0/bundler/gems/rdf-237066655558/lib/rdf/cli.rb

Instance Method Summary collapse

Instance Method Details

#argsObject

Arguments remaining after extracting options



42
# File 'vendor/bundler/ruby/3.0.0/bundler/gems/rdf-237066655558/lib/rdf/cli.rb', line 42

def args; @args || []; end

#args=(value) ⇒ Object



43
# File 'vendor/bundler/ruby/3.0.0/bundler/gems/rdf-237066655558/lib/rdf/cli.rb', line 43

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

#optionsObject

Actual parsed options



38
# File 'vendor/bundler/ruby/3.0.0/bundler/gems/rdf-237066655558/lib/rdf/cli.rb', line 38

def options; @options || {}; end

#options=(value) ⇒ Object



39
# File 'vendor/bundler/ruby/3.0.0/bundler/gems/rdf-237066655558/lib/rdf/cli.rb', line 39

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