Class: Pod::Command::ARGV
- Inherits:
-
Array
- Object
- Array
- Pod::Command::ARGV
- Defined in:
- lib/cocoapods/command.rb
Instance Method Summary collapse
Instance Method Details
#arguments ⇒ Object
28 |
# File 'lib/cocoapods/command.rb', line 28 def arguments; self - ; end |
#option(name) ⇒ Object
29 |
# File 'lib/cocoapods/command.rb', line 29 def option(name); !!delete(name); end |
#options ⇒ Object
27 |
# File 'lib/cocoapods/command.rb', line 27 def ; select { |x| x.to_s[0,1] == '-' }; end |
#shift_argument ⇒ Object
30 |
# File 'lib/cocoapods/command.rb', line 30 def shift_argument; (arg = arguments[0]) && delete(arg); end |