Class: Necropsy::ClassInfo
- Inherits:
-
Data
- Object
- Data
- Necropsy::ClassInfo
- Defined in:
- lib/necropsy/models.rb
Instance Attribute Summary collapse
-
#dynamic ⇒ Object
readonly
Returns the value of attribute dynamic.
-
#extends ⇒ Object
readonly
Returns the value of attribute extends.
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#includes ⇒ Object
readonly
Returns the value of attribute includes.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#prepends ⇒ Object
readonly
Returns the value of attribute prepends.
-
#superclass ⇒ Object
readonly
Returns the value of attribute superclass.
-
#superclass_candidates ⇒ Object
readonly
Returns the value of attribute superclass_candidates.
Instance Method Summary collapse
Instance Attribute Details
#dynamic ⇒ Object (readonly)
Returns the value of attribute dynamic
62 63 64 |
# File 'lib/necropsy/models.rb', line 62 def dynamic @dynamic end |
#extends ⇒ Object (readonly)
Returns the value of attribute extends
62 63 64 |
# File 'lib/necropsy/models.rb', line 62 def extends @extends end |
#file ⇒ Object (readonly)
Returns the value of attribute file
62 63 64 |
# File 'lib/necropsy/models.rb', line 62 def file @file end |
#id ⇒ Object (readonly)
Returns the value of attribute id
62 63 64 |
# File 'lib/necropsy/models.rb', line 62 def id @id end |
#includes ⇒ Object (readonly)
Returns the value of attribute includes
62 63 64 |
# File 'lib/necropsy/models.rb', line 62 def includes @includes end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
62 63 64 |
# File 'lib/necropsy/models.rb', line 62 def kind @kind end |
#line ⇒ Object (readonly)
Returns the value of attribute line
62 63 64 |
# File 'lib/necropsy/models.rb', line 62 def line @line end |
#prepends ⇒ Object (readonly)
Returns the value of attribute prepends
62 63 64 |
# File 'lib/necropsy/models.rb', line 62 def prepends @prepends end |
#superclass ⇒ Object (readonly)
Returns the value of attribute superclass
62 63 64 |
# File 'lib/necropsy/models.rb', line 62 def superclass @superclass end |
#superclass_candidates ⇒ Object (readonly)
Returns the value of attribute superclass_candidates
62 63 64 |
# File 'lib/necropsy/models.rb', line 62 def superclass_candidates @superclass_candidates end |
Instance Method Details
#to_h ⇒ Object
74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
# File 'lib/necropsy/models.rb', line 74 def to_h { 'id' => id, 'kind' => kind.to_s, 'file' => file, 'line' => line, 'superclass' => superclass, 'superclass_candidates' => superclass_candidates, 'includes' => includes, 'prepends' => prepends, 'extends' => extends, 'dynamic' => dynamic } end |