Class: Dude::Git::Checkout
- Inherits:
-
Object
- Object
- Dude::Git::Checkout
- Defined in:
- lib/dude/git/checkout.rb
Instance Method Summary collapse
Instance Method Details
#call(branch_name) ⇒ Object
6 7 8 9 |
# File 'lib/dude/git/checkout.rb', line 6 def call(branch_name) @branch_name = branch_name branch_exists? ? checkout_on_exising_branch : checkout_and_create end |