lib/hamlit/parser/haml_helpers.rb in hamlit-2.8.5 vs lib/hamlit/parser/haml_helpers.rb in hamlit-2.8.6
- old
+ new
@@ -1,7 +1,6 @@
require 'hamlit/parser/haml_error'
-require 'hamlit/parser/haml_buffer'
require 'hamlit/parser/haml_options'
require 'hamlit/parser/haml_compiler'
require 'hamlit/parser/haml_parser'
module Hamlit
@@ -722,6 +721,7 @@
# Because `ActionView` helpers may be included in non-`ActionView::Base` classes,
# it's a good idea to define \{#is\_haml?} for all objects.
def is_haml?
false
end
+ alias :is_haml? :is_haml?
end