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