lib/girdle/task.rb in girdle-0.0.6 vs lib/girdle/task.rb in girdle-0.0.7

- old
+ new

@@ -1,15 +1,16 @@ module Girdle class Task - attr_reader :name, :command, :arguments, :depends_on + attr_reader :name, :command, :arguments, :depends_on, :environment def initialize(options = {}) - @name = options[:name] - @command = options[:command] - @arguments = options[:arguments] - @depends_on = options[:depends_on] || [] + @name = options[:name] + @command = options[:command] + @arguments = options[:arguments] + @depends_on = options[:depends_on] || [] + @environment = options[:environment] || {} end end end \ No newline at end of file