Method: Cardigan::Command::CommitChanges#initialize
- Defined in:
- lib/cardigan/command/commit_changes.rb
#initialize(repository, io) ⇒ CommitChanges
Returns a new instance of CommitChanges.
6 7 8 9 10 |
# File 'lib/cardigan/command/commit_changes.rb', line 6 def initialize repository, io @io, @repository = io, repository @usage = "<commit message>" @help = "Commits _all_ changes (adds, removes and modifications) to the source control system\nWarning: Use with caution. This will not only commit changes to cards - all modifications will be committed." end |