Class: DYAutomate::Command::TaskFlow
- Inherits:
-
DYAutomate::Command
- Object
- CLAide::Command
- DYAutomate::Command
- DYAutomate::Command::TaskFlow
- Defined in:
- lib/DYAutomate/Command/taskFlow.rb,
lib/DYAutomate/Command/TaksFlow/test.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Test
Instance Attribute Summary collapse
-
#git_obj ⇒ Object
#查询结果lib信息.
-
#path ⇒ Object
路径.
Attributes inherited from DYAutomate::Command
Instance Method Summary collapse
-
#initialize(argv) ⇒ TaskFlow
constructor
A new instance of TaskFlow.
- #run ⇒ Object
- #validate! ⇒ Object
Methods inherited from DYAutomate::Command
Constructor Details
#initialize(argv) ⇒ TaskFlow
Returns a new instance of TaskFlow.
18 19 20 |
# File 'lib/DYAutomate/Command/taskFlow.rb', line 18 def initialize(argv) super end |
Instance Attribute Details
#git_obj ⇒ Object
#查询结果lib信息
16 17 18 |
# File 'lib/DYAutomate/Command/taskFlow.rb', line 16 def git_obj @git_obj end |
#path ⇒ Object
路径
14 15 16 |
# File 'lib/DYAutomate/Command/taskFlow.rb', line 14 def path @path end |
Instance Method Details
#run ⇒ Object
33 34 35 |
# File 'lib/DYAutomate/Command/taskFlow.rb', line 33 def run pp('git run ...',1) end |
#validate! ⇒ Object
22 23 24 25 26 27 28 29 30 31 |
# File 'lib/DYAutomate/Command/taskFlow.rb', line 22 def validate! super # unless @name # help! 'need the lib `NAME`.' # end # unless existGit? # help! "at #{Dir.pwd},is not git" # end end |