Module: ErbAsterisk

Includes:
FileCache, Inclusion, Log, Render, SoftWrite, Utils, Yields
Defined in:
lib/erb_asterisk.rb,
lib/erb_asterisk/log.rb,
lib/erb_asterisk/utils.rb,
lib/erb_asterisk/render.rb,
lib/erb_asterisk/yields.rb,
lib/erb_asterisk/version.rb,
lib/erb_asterisk/inclusion.rb,
lib/erb_asterisk/arg_parser.rb,
lib/erb_asterisk/file_cache.rb,
lib/erb_asterisk/soft_write.rb

Defined Under Namespace

Modules: FileCache, Inclusion, Log, Render, SoftWrite, Utils, Yields Classes: ArgParser

Constant Summary collapse

VERSION =
'0.0.19'.freeze

Instance Method Summary collapse

Methods included from Utils

#escape_exten

Methods included from Yields

#apply_line_to, #content_for, #yield_actual, #yield_here

Methods included from Inclusion

#include_to

Methods included from Render

#render

Instance Method Details

#execute(opts) ⇒ Object



22
23
24
25
26
27
28
29
30
31
# File 'lib/erb_asterisk.rb', line 22

def execute(opts)
  init_instance(opts)

  root = asterisk_root(opts)
  @templates_path = "#{root}templates".freeze

  load_project_file

  render_files(root)
end