Class: Command::StashGemfileLockCommand
Instance Attribute Summary
Attributes inherited from BaseCommand
#options, #rvm_prefix
Instance Method Summary
collapse
Methods inherited from BaseCommand
#execute, #initialize
Instance Method Details
#cancel ⇒ Object
3
4
5
|
# File 'lib/command/stash_gemfile_lock_command.rb', line 3
def cancel
system('mv ./Gemfile.lock.stash ./Gemfile.lock')
end
|
#name ⇒ Object
7
8
9
|
# File 'lib/command/stash_gemfile_lock_command.rb', line 7
def name
'mv ./Gemfile.lock ./Gemfile.lock.stash'
end
|