StandardError
An exception raised by Haml code.
The line of the template on which the error occurred.
@return [Fixnum]
# File lib/haml/error.rb, line 38 def self.message(key, *args) string = MESSAGES[key] or raise "[HAML BUG] No error messages for #{key}" (args.empty? ? string : string % args).rstrip end
@param message [String] The error message @param line [Fixnum] See {#line}
# File lib/haml/error.rb, line 50 def initialize(message = nil, line = nil) super(message) @line = line end
[Validate]
Generated with the Darkfish Rdoc Generator 2.