Class: Necropsy::SourceError
- Inherits:
-
Data
- Object
- Data
- Necropsy::SourceError
- Defined in:
- lib/necropsy/models.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file
851 852 853 |
# File 'lib/necropsy/models.rb', line 851 def file @file end |
#line ⇒ Object (readonly)
Returns the value of attribute line
851 852 853 |
# File 'lib/necropsy/models.rb', line 851 def line @line end |
#message ⇒ Object (readonly)
Returns the value of attribute message
851 852 853 |
# File 'lib/necropsy/models.rb', line 851 def @message end |
#type ⇒ Object (readonly)
Returns the value of attribute type
851 852 853 |
# File 'lib/necropsy/models.rb', line 851 def type @type end |
Instance Method Details
#to_h ⇒ Object
852 853 854 855 856 857 858 859 |
# File 'lib/necropsy/models.rb', line 852 def to_h { 'file' => file, 'line' => line, 'message' => , 'type' => type.to_s } end |