Class: Texas::Build::Task::RewriteMarkedTemplates

Inherits:
Base
  • Object
show all
Defined in:
lib/texas/build/task/rewrite_marked_templates.rb

Instance Attribute Summary

Attributes inherited from Base

#build

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Texas::Build::Task::Base

Instance Method Details

#runObject



5
6
7
8
9
# File 'lib/texas/build/task/rewrite_marked_templates.rb', line 5

def run
  build.ran_templates.select { |t| t.marked_for_rewrite? }.each do |t|
    t.write
  end
end