lib/express_templates/expander.rb in express_templates-0.3.6 vs lib/express_templates/expander.rb in express_templates-0.4.0

- old
+ new

@@ -74,9 +74,10 @@ select { |klass| klass.ancestors.include? (ExpressTemplates::Markup::Tag) } ) end def method_missing(name, *args, &block) + raise "#{self.class} unexpected macro: \"#{name}\"." if locals.nil? return locals[name] if locals.keys.include?(name) if handlers.keys.include?(name) stack << handlers[name].send(name, *args, &block) else \ No newline at end of file