Class: MilkTea::DebugMap::Entry
- Inherits:
-
Data
- Object
- Data
- MilkTea::DebugMap::Entry
- Defined in:
- lib/milk_tea/tooling/debug_map.rb
Instance Attribute Summary collapse
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#linkage_name ⇒ Object
readonly
Returns the value of attribute linkage_name.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#line ⇒ Object (readonly)
Returns the value of attribute line
11 12 13 |
# File 'lib/milk_tea/tooling/debug_map.rb', line 11 def line @line end |
#linkage_name ⇒ Object (readonly)
Returns the value of attribute linkage_name
11 12 13 |
# File 'lib/milk_tea/tooling/debug_map.rb', line 11 def linkage_name @linkage_name end |
#name ⇒ Object (readonly)
Returns the value of attribute name
11 12 13 |
# File 'lib/milk_tea/tooling/debug_map.rb', line 11 def name @name end |
Instance Method Details
#to_h ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'lib/milk_tea/tooling/debug_map.rb', line 12 def to_h payload = { "name" => name, "cName" => linkage_name, } payload["line"] = line if line payload end |