Class: Object

Inherits:
BasicObject
Defined in:
lib/hamlit/parser/haml_helpers.rb

Instance Method Summary collapse

Instance Method Details

#is_haml?Boolean

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.

Returns:

  • (Boolean)


724
725
726
# File 'lib/hamlit/parser/haml_helpers.rb', line 724

def is_haml?
  false
end