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
98 99 100 |
# File 'lib/necropsy/models.rb', line 98 def caller_id @caller_id end |
#dynamic ⇒ Object (readonly)
Returns the value of attribute dynamic
98 99 100 |
# File 'lib/necropsy/models.rb', line 98 def dynamic @dynamic end |
#file ⇒ Object (readonly)
Returns the value of attribute file
98 99 100 |
# File 'lib/necropsy/models.rb', line 98 def file @file end |
#line ⇒ Object (readonly)
Returns the value of attribute line
98 99 100 |
# File 'lib/necropsy/models.rb', line 98 def line @line end |
#message ⇒ Object (readonly)
Returns the value of attribute message
98 99 100 |
# File 'lib/necropsy/models.rb', line 98 def @message end |
#metadata ⇒ Object (readonly)
Returns the value of attribute metadata
98 99 100 |
# File 'lib/necropsy/models.rb', line 98 def @metadata end |
#receiver_kind ⇒ Object (readonly)
Returns the value of attribute receiver_kind
98 99 100 |
# File 'lib/necropsy/models.rb', line 98 def receiver_kind @receiver_kind end |
#receiver_name ⇒ Object (readonly)
Returns the value of attribute receiver_name
98 99 100 |
# File 'lib/necropsy/models.rb', line 98 def receiver_name @receiver_name end |
#test ⇒ Object (readonly)
Returns the value of attribute test
98 99 100 |
# File 'lib/necropsy/models.rb', line 98 def test @test end |
Instance Method Details
#to_h ⇒ Object
109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/necropsy/models.rb', line 109 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 |