class Haml::Error

An exception raised by Haml code.

Attributes

line[R]

The line of the template on which the error occurred.

@return [Fixnum]

Public Class Methods

new(message = nil, line = nil) click to toggle source

@param message [String] The error message @param line [Fixnum] See {#line}

# File lib/haml/error.rb, line 11
def initialize(message = nil, line = nil)
  super(message)
  @line = line
end