Class: BBLib::OptsParser::Command
- Inherits:
-
Option
- Object
- Option
- BBLib::OptsParser::Command
show all
- Defined in:
- lib/bblib/cli/options/command.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Option
#flag_match?, #retrieve, #singular?, #split, #to_s, types, #valid!, #valid?
Methods included from TypeInit
included
Methods included from Effortless
#_attrs, included
Class Method Details
.type ⇒ Object
6
7
8
|
# File 'lib/bblib/cli/options/command.rb', line 6
def self.type
[super, :at]
end
|
Instance Method Details
10
11
12
|
# File 'lib/bblib/cli/options/command.rb', line 10
def (index, args)
args.delete_at(index).to_s
end
|