Class: Gct::Command::Op::Root
- Inherits:
-
Gct::Command::Op
- Object
- CLAide::Command
- Gct::Command
- Gct::Command::Op
- Gct::Command::Op::Root
- Defined in:
- lib/gct/command/op/root.rb
Instance Method Summary collapse
-
#initialize(argv) ⇒ Root
constructor
A new instance of Root.
- #openGct ⇒ Object
- #run ⇒ Object
- #validate! ⇒ Object
Methods inherited from Gct::Command
#auto_add_tag, #check_branch_can_be_update, #config_gitlab, #current_branch, #file_contents, #get_project, #gitlab_error, options, run
Constructor Details
#initialize(argv) ⇒ Root
Returns a new instance of Root.
14 15 16 |
# File 'lib/gct/command/op/root.rb', line 14 def initialize(argv) super end |
Instance Method Details
#openGct ⇒ Object
26 27 28 29 |
# File 'lib/gct/command/op/root.rb', line 26 def openGct root_path = Generator::GctFile.root_folder_path system "open #{root_path}" end |
#run ⇒ Object
22 23 24 |
# File 'lib/gct/command/op/root.rb', line 22 def run openGct end |
#validate! ⇒ Object
18 19 20 |
# File 'lib/gct/command/op/root.rb', line 18 def validate! super end |