Class: PGit::Command::Remove
- Inherits:
-
Object
- Object
- PGit::Command::Remove
- Extended by:
- Forwardable
- Defined in:
- lib/pgit/command/remove.rb
Instance Method Summary collapse
- #execute! ⇒ Object
-
#initialize(app) ⇒ Remove
constructor
A new instance of Remove.
Constructor Details
#initialize(app) ⇒ Remove
Returns a new instance of Remove.
10 11 12 |
# File 'lib/pgit/command/remove.rb', line 10 def initialize(app) @app = app end |
Instance Method Details
#execute! ⇒ Object
14 15 16 17 18 19 |
# File 'lib/pgit/command/remove.rb', line 14 def execute! check_command_exists_for_remove command.remove! display_success_msg end |