Class: SixthSense::Model::CodeUnit
- Inherits:
-
Struct
- Object
- Struct
- SixthSense::Model::CodeUnit
- Defined in:
- lib/sixth_sense/model.rb
Instance Attribute Summary collapse
-
#constants ⇒ Object
Returns the value of attribute constants.
-
#methods ⇒ Object
Returns the value of attribute methods.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
Instance Attribute Details
#constants ⇒ Object
Returns the value of attribute constants
82 83 84 |
# File 'lib/sixth_sense/model.rb', line 82 def constants @constants end |
#methods ⇒ Object
Returns the value of attribute methods
82 83 84 |
# File 'lib/sixth_sense/model.rb', line 82 def methods @methods end |
#path ⇒ Object
Returns the value of attribute path
82 83 84 |
# File 'lib/sixth_sense/model.rb', line 82 def path @path end |
Instance Method Details
#to_h ⇒ Object
83 84 85 86 87 88 89 |
# File 'lib/sixth_sense/model.rb', line 83 def to_h { path: path, constants: constants, methods: methods } end |