Exception: Stencil::RenderError

Inherits:
Exception
  • Object
show all
Defined in:
lib/stencil/template.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#based_onObject

Returns the value of attribute based_on.



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

def based_on
  @based_on
end

#columnObject

Returns the value of attribute column.



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

def column
  @column
end

#fileObject

Returns the value of attribute file.



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

def file
  @file
end

#lineObject

Returns the value of attribute line.



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

def line
  @line
end

Instance Method Details

#messageObject



10
11
12
# File 'lib/stencil/template.rb', line 10

def message
  super + " at: #@file:#@line,#@column"
end