Class: Pod::Command::MPAAS
- Inherits:
-
Pod::Command
- Object
- Pod::Command
- Pod::Command::MPAAS
- Defined in:
- lib/cocoapods-mPaaS/command/mPaaS.rb,
lib/cocoapods-mPaaS/command/mpaas/dev.rb,
lib/cocoapods-mPaaS/command/mpaas/info.rb,
lib/cocoapods-mPaaS/command/mpaas/init.rb,
lib/cocoapods-mPaaS/command/mpaas/open.rb,
lib/cocoapods-mPaaS/command/mpaas/update.rb,
lib/cocoapods-mPaaS/command/mpaas/version.rb,
lib/cocoapods-mPaaS/command/mpaas/local_command.rb
Overview
MPAAS 主命令
Defined Under Namespace
Classes: Dev, Info, Init, Open, SetLang, Update, Version
Instance Method Summary collapse
-
#initialize(argv) ⇒ MPAAS
constructor
A new instance of MPAAS.
-
#run ⇒ Object
def validate! super help! ‘A Pod name is required.’ unless @name end.
Constructor Details
#initialize(argv) ⇒ MPAAS
Returns a new instance of MPAAS.
13 14 15 16 |
# File 'lib/cocoapods-mPaaS/command/mpaas/local_command.rb', line 13 def initialize(argv) super Pod::MPAAS::Localization.set_language(Pod::MPAAS::Localization.current_language) end |
Instance Method Details
#run ⇒ Object
def validate!
super
help! 'A Pod name is required.' unless @name
end
39 40 41 |
# File 'lib/cocoapods-mPaaS/command/mPaaS.rb', line 39 def run # UI.puts "Add your implementation for the cocoapods-mPaaS plugin in #{__FILE__}" end |