Class: MxmlcError
- Inherits:
-
Object
- Object
- MxmlcError
- Defined in:
- lib/mxmlc_output/mxmlc_error.rb
Constant Summary collapse
- LEVEL_WARN =
:warn- LEVEL_ERROR =
:error
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
-
#level ⇒ Object
readonly
Returns the value of attribute level.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(filename, line, column, level, message) ⇒ MxmlcError
constructor
A new instance of MxmlcError.
Constructor Details
#initialize(filename, line, column, level, message) ⇒ MxmlcError
Returns a new instance of MxmlcError.
9 10 11 12 13 14 15 16 |
# File 'lib/mxmlc_output/mxmlc_error.rb', line 9 def initialize(filename, line, column, level, ) @filename = filename @line = line @column = column @level = level = @content = '' end |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column.
2 3 4 |
# File 'lib/mxmlc_output/mxmlc_error.rb', line 2 def column @column end |
#content ⇒ Object (readonly)
Returns the value of attribute content.
2 3 4 |
# File 'lib/mxmlc_output/mxmlc_error.rb', line 2 def content @content end |
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
2 3 4 |
# File 'lib/mxmlc_output/mxmlc_error.rb', line 2 def filename @filename end |
#level ⇒ Object (readonly)
Returns the value of attribute level.
2 3 4 |
# File 'lib/mxmlc_output/mxmlc_error.rb', line 2 def level @level end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
2 3 4 |
# File 'lib/mxmlc_output/mxmlc_error.rb', line 2 def line @line end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
2 3 4 |
# File 'lib/mxmlc_output/mxmlc_error.rb', line 2 def end |