Class: Traceur::CompilationError::Error
- Inherits:
-
Struct
- Object
- Struct
- Traceur::CompilationError::Error
- Defined in:
- lib/traceur/compilation_error.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
-
#file ⇒ Object
Returns the value of attribute file.
-
#line ⇒ Object
Returns the value of attribute line.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column
21 22 23 |
# File 'lib/traceur/compilation_error.rb', line 21 def column @column end |
#file ⇒ Object
Returns the value of attribute file
21 22 23 |
# File 'lib/traceur/compilation_error.rb', line 21 def file @file end |
#line ⇒ Object
Returns the value of attribute line
21 22 23 |
# File 'lib/traceur/compilation_error.rb', line 21 def line @line end |
#message ⇒ Object
Returns the value of attribute message
21 22 23 |
# File 'lib/traceur/compilation_error.rb', line 21 def end |
Instance Method Details
#to_s ⇒ Object
22 23 24 |
# File 'lib/traceur/compilation_error.rb', line 22 def to_s "#{file}:#{line}:#{column}: #{message}" end |