Module: Texas

Defined in:
lib/texas.rb,
lib/texas/task.rb,
lib/texas/build.rb,
lib/texas/runner.rb,
lib/texas/version.rb,
lib/texas/template.rb,
lib/texas/task/base.rb,
lib/texas/build/dry.rb,
lib/texas/build/base.rb,
lib/texas/task/watch.rb,
lib/texas/build/final.rb,
lib/texas/build/config.rb,
lib/texas/option_parser.rb,
lib/texas/output_helper.rb,
lib/texas/template/helper.rb,
lib/texas/build/task/base.rb,
lib/texas/template/runner.rb,
lib/texas/task/new_project.rb,
lib/texas/build/task/script.rb,
lib/texas/template/helper/md.rb,
lib/texas/build/task/open_pdf.rb,
lib/texas/template/helper/tex.rb,
lib/texas/build/config_loader.rb,
lib/texas/template/helper/info.rb,
lib/texas/template/runner/base.rb,
lib/texas/template/helper/base.rb,
lib/texas/build/task/publish_pdf.rb,
lib/texas/build/task/run_master_template.rb,
lib/texas/build/task/execute_after_scripts.rb,
lib/texas/build/task/execute_before_scripts.rb,
lib/texas/build/task/rewrite_marked_templates.rb,
lib/texas/build/task/copy_contents_to_build_path.rb,
lib/texas/build/task/add_default_templates_to_build_path.rb

Defined Under Namespace

Modules: Build, OutputHelper, Task, Template, VERSION Classes: OptionParser, Runner

Class Attribute Summary collapse

Class Attribute Details

.contents_subdir_nameObject

Returns the name of the template sub directory defaults to “contents”


5
6
7
# File 'lib/texas.rb', line 5

def contents_subdir_name
  @contents_subdir_name
end

.texas_dirObject

Points to the directory where Texas is located


8
9
10
# File 'lib/texas.rb', line 8

def texas_dir
  @texas_dir
end

.verboseObject

Returns true if Texas is run in verbose mode


11
12
13
# File 'lib/texas.rb', line 11

def verbose
  @verbose
end

.warningsObject

Returns true if warnings are enabled


14
15
16
# File 'lib/texas.rb', line 14

def warnings
  @warnings
end