Class Object
In: lib/haml/helpers.rb
Parent: Object

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 543
543:   def is_haml?
544:     false
545:   end

[Validate]