themejuice/tj

View on GitHub
lib/theme-juice/command.rb

Summary

Maintainability
A
0 mins
Test Coverage
# encoding: UTF-8

module ThemeJuice
  class Command < Task

    def initialize(opts = {})
      super

      @list = Tasks::List.new
    end

    def execute
      @tasks.each { |task| task.execute }
    end

    def unexecute
      @tasks.each { |task| task.unexecute }
    end
  end
end