Class Object
In: lib/haml/helpers.rb
Parent: Object
Engine Error SyntaxError Buffer StandardError ActionViewExtensions Generic CSS2Sass HTML2Haml HamlSass Haml Sass Template HTML lib/haml/template.rb lib/haml/error.rb lib/haml/engine.rb lib/haml/html.rb lib/haml/buffer.rb Version Util Precompiler ActionViewExtensions Helpers Base Filters lib/haml/exec.rb Exec Haml dot/f_6.png

Methods

is_haml?  

Public Instance methods

Haml overrides various ActionView helpers, which call an is_haml? method to determine whether or not the current context object is a proper Haml context. Because ActionView helpers may be included in non-ActionView::Base classes, it‘s a good idea to define is_haml? for all objects.

[Source]

     # File lib/haml/helpers.rb, line 462
462:   def is_haml?
463:     false
464:   end

[Validate]