Class: Spar::DirectiveProcessor

Inherits:
Sprockets::Processor
  • Object
show all
Includes:
Helpers
Defined in:
lib/spar/directive_processor.rb

Instance Method Summary collapse

Methods included from Helpers

append_features, #audio_path, #font_path, #image_path, #javascript_include_tag, #javascript_path, #javascript_tag, #path_to, paths, #stylesheet_link_tag, #stylesheet_path, #stylesheet_tag, #video_path

Instance Method Details

#evaluate(context, locals, &block) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/spar/directive_processor.rb', line 7

def evaluate(context, locals, &block)
  @result = data
  
  process_methods

  @result
end