class Lono::Extensions

Public Class Methods

new(template_path) click to toggle source
# File lib/lono/extensions.rb, line 6
def initialize(template_path)
  @template_path = template_path
end

Public Instance Methods

evaluate() click to toggle source
# File lib/lono/extensions.rb, line 10
def evaluate
  evaluate_template_path(@template_path) # handle extend_with
end
method_missing(name, *args, &block) click to toggle source

The extend_with methods are used in file as the normal DSL evaluation. We use method_missing so we dont have to redefine all the normal methods of the DSL.

# File lib/lono/extensions.rb, line 16
def method_missing(name, *args, &block); end