Class: Pod::Command::ChangeColor
- Inherits:
-
Pod::Command
- Object
- Pod::Command
- Pod::Command::ChangeColor
- Defined in:
- lib/cocoapods-hooks/command/change_color.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(argv) ⇒ ChangeColor
constructor
A new instance of ChangeColor.
- #run ⇒ Object
- #validate! ⇒ Object
Constructor Details
#initialize(argv) ⇒ ChangeColor
8 9 10 |
# File 'lib/cocoapods-hooks/command/change_color.rb', line 8 def initialize(argv) super end |
Class Method Details
.options ⇒ Object
12 13 14 15 16 |
# File 'lib/cocoapods-hooks/command/change_color.rb', line 12 def self. [ ].concat(super) end |
Instance Method Details
#run ⇒ Object
22 23 24 25 26 |
# File 'lib/cocoapods-hooks/command/change_color.rb', line 22 def run UI.puts "change project theme color for theme and mutable theme #{@tenantid}" # 执行你的业务逻辑 self.class.changeThemeColor() end |
#validate! ⇒ Object
18 19 20 |
# File 'lib/cocoapods-hooks/command/change_color.rb', line 18 def validate! super end |