Class: Opal::Haml::Processor

Inherits:
Sprockets::Processor
  • Object
show all
Defined in:
lib/opal/haml/processor.rb

Instance Method Summary collapse

Instance Method Details

#callObject



7
8
9
10
# File 'lib/opal/haml/processor.rb', line 7

def call
  @data = Opal::Haml.compile_haml @data, context.logical_path.sub(/#{Opal::REGEXP_START}templates\//, '')
  super
end