Class: CocoapodsTools::GT
- Defined in:
- lib/cocoapods-tools/command/git/gt.rb
Overview
This command uses an argument for the extra parameter, instead of subcommands for each of the flavor.
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(argv) ⇒ GT
constructor
A new instance of GT.
Methods inherited from Command
Constructor Details
#initialize(argv) ⇒ GT
Returns a new instance of GT.
22 23 24 25 |
# File 'lib/cocoapods-tools/command/git/gt.rb', line 22 def initialize(argv) @tag = argv.flag?('merge') super end |
Class Method Details
.options ⇒ Object
18 19 20 |
# File 'lib/cocoapods-tools/command/git/gt.rb', line 18 def self. [%w[merge 自动打合并组件]].concat(super) end |