Method: Haml::Options#trace

Defined in:
lib/haml/options.rb

#trace

Enable template tracing. If true, it will add a 'data-trace' attribute to each tag generated by Haml. The value of the attribute will be the source template name and the line number from which the tag was generated, separated by a colon. On Rails applications, the path given will be a relative path as from the views directory. On non-Rails applications, the path will be the full path.



165
166
167
# File 'lib/haml/options.rb', line 165

def trace
  @trace
end