Class: Necropsy::CallSite
- Inherits:
-
Data
- Object
- Data
- Necropsy::CallSite
- Defined in:
- lib/necropsy/models.rb
Instance Attribute Summary collapse
-
#caller_id ⇒ Object
readonly
Returns the value of attribute caller_id.
-
#dynamic ⇒ Object
readonly
Returns the value of attribute dynamic.
-
#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.
-
#metadata ⇒ Object
readonly
Returns the value of attribute metadata.
-
#receiver_kind ⇒ Object
readonly
Returns the value of attribute receiver_kind.
-
#receiver_name ⇒ Object
readonly
Returns the value of attribute receiver_name.
-
#test ⇒ Object
readonly
Returns the value of attribute test.
Instance Method Summary collapse
Instance Attribute Details
#caller_id ⇒ Object (readonly)
Returns the value of attribute caller_id
90 91 92 |
# File 'lib/necropsy/models.rb', line 90 def caller_id @caller_id end |
#dynamic ⇒ Object (readonly)
Returns the value of attribute dynamic
90 91 92 |
# File 'lib/necropsy/models.rb', line 90 def dynamic @dynamic end |
#file ⇒ Object (readonly)
Returns the value of attribute file
90 91 92 |
# File 'lib/necropsy/models.rb', line 90 def file @file end |
#line ⇒ Object (readonly)
Returns the value of attribute line
90 91 92 |
# File 'lib/necropsy/models.rb', line 90 def line @line end |
#message ⇒ Object (readonly)
Returns the value of attribute message
90 91 92 |
# File 'lib/necropsy/models.rb', line 90 def @message end |
#metadata ⇒ Object (readonly)
Returns the value of attribute metadata
90 91 92 |
# File 'lib/necropsy/models.rb', line 90 def @metadata end |
#receiver_kind ⇒ Object (readonly)
Returns the value of attribute receiver_kind
90 91 92 |
# File 'lib/necropsy/models.rb', line 90 def receiver_kind @receiver_kind end |
#receiver_name ⇒ Object (readonly)
Returns the value of attribute receiver_name
90 91 92 |
# File 'lib/necropsy/models.rb', line 90 def receiver_name @receiver_name end |
#test ⇒ Object (readonly)
Returns the value of attribute test
90 91 92 |
# File 'lib/necropsy/models.rb', line 90 def test @test end |
Instance Method Details
#to_h ⇒ Object
101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/necropsy/models.rb', line 101 def to_h { 'caller_id' => caller_id, 'message' => , 'receiver_kind' => receiver_kind.to_s, 'receiver_name' => receiver_name, 'file' => file, 'line' => line, 'test' => test, 'dynamic' => dynamic, 'metadata' => } end |