Class: Stool::Command::LibPool::Clone
- Inherits:
-
Stool::Command::LibPool
- Object
- CLAide::Command
- Stool::Command
- Stool::Command::LibPool
- Stool::Command::LibPool::Clone
- Defined in:
- lib/stool/Command/LibPool/Clone.rb
Instance Method Summary collapse
-
#initialize(argv) ⇒ Clone
constructor
A new instance of Clone.
-
#run ⇒ Object
查看当前的pool list.
Methods inherited from Stool::Command::LibPool
existLocalAndClone, pools_from_config
Methods inherited from Stool::Command
#checkConfigFile, options, #pp
Constructor Details
#initialize(argv) ⇒ Clone
Returns a new instance of Clone.
15 16 17 18 |
# File 'lib/stool/Command/LibPool/Clone.rb', line 15 def initialize(argv) @poolName super end |
Instance Method Details
#run ⇒ Object
查看当前的pool list
21 22 23 24 25 26 27 28 |
# File 'lib/stool/Command/LibPool/Clone.rb', line 21 def run pp('') pp('**clone to pool') List::pools_from_config.map do |pInfo| pInfo.info_tos end end |