lib/sprinkle/errors/template_error.rb in sprinkle-0.7.1.1 vs lib/sprinkle/errors/template_error.rb in sprinkle-0.7.2
- old
+ new
@@ -1,7 +1,7 @@
module Sprinkle::Errors
# Blatantly stole this from Chef
- class TemplateError < RuntimeError
+ class TemplateError < RuntimeError #:nodoc:
attr_reader :original_exception, :context
SOURCE_CONTEXT_WINDOW = 2 unless defined? SOURCE_CONTEXT_WINDOW
def initialize(original_exception, template, context)
@original_exception, @template, @context = original_exception, template, context
\ No newline at end of file