class BranchingCleaner::BranchCleaner
Attributes
branch[RW]
Public Class Methods
new(branch)
click to toggle source
# File lib/branching_cleaner/branch_cleaner.rb, line 6 def initialize(branch) self.branch = branch end
Public Instance Methods
run()
click to toggle source
# File lib/branching_cleaner/branch_cleaner.rb, line 10 def run %w(development test).each { |env| BranchingCleaner::DatabaseRemover.new(env).drop(branch) } end