Module: Sprockets::EngineError

Defined in:
lib/sprockets/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#sprockets_annotationObject

Returns the value of attribute sprockets_annotation.



11
12
13
# File 'lib/sprockets/errors.rb', line 11

def sprockets_annotation
  @sprockets_annotation
end

Instance Method Details

#messageObject



13
14
15
# File 'lib/sprockets/errors.rb', line 13

def message
  [super, sprockets_annotation].compact.join("\n")
end