Class: Codelog::Command::Step::Delete

Inherits:
Object
  • Object
show all
Includes:
FileUtils
Defined in:
lib/codelog/command/step/delete.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.runObject



9
10
11
# File 'lib/codelog/command/step/delete.rb', line 9

def self.run
  Codelog::Command::Step::Delete.new.run
end

Instance Method Details

#runObject



13
14
15
16
17
# File 'lib/codelog/command/step/delete.rb', line 13

def run
  chdir Dir.pwd do
    system('rm -rv changelogs/unreleased/*.yml')
  end
end