Class: SyntaxTree::Rake::WriteTask

Inherits:
Task
  • Object
show all
Defined in:
lib/syntax_tree/rake/write_task.rb

Overview

A Rake task that runs write on a set of source files.

Example:

require "syntax_tree/rake/write_task"

SyntaxTree::Rake::WriteTask.new do |t|
  t.source_files = "{app,config,lib}/**/*.rb"
end

This will create task that can be run with:

rake stree:write

Instance Attribute Summary

Attributes inherited from Task

#ignore_files, #name, #plugins, #print_width, #source_files, #target_ruby_version

Method Summary

Methods inherited from Task

#initialize

Constructor Details

This class inherits a constructor from SyntaxTree::Rake::Task