Exception: JSMin::ParseError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- JSMin::ParseError
- Defined in:
- lib/hanami/assets/compressors/jsmin.rb
Instance Attribute Summary collapse
-
#line ⇒ Object
Returns the value of attribute line.
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(err, source, line) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(err, source, line) ⇒ ParseError
Returns a new instance of ParseError.
67 68 69 70 71 |
# File 'lib/hanami/assets/compressors/jsmin.rb', line 67 def initialize(err, source, line) @source = source, @line = line super "JSMin Parse Error: #{err} at line #{line} of #{source}" end |
Instance Attribute Details
#line ⇒ Object
Returns the value of attribute line.
66 67 68 |
# File 'lib/hanami/assets/compressors/jsmin.rb', line 66 def line @line end |
#source ⇒ Object
Returns the value of attribute source.
66 67 68 |
# File 'lib/hanami/assets/compressors/jsmin.rb', line 66 def source @source end |