Class: CodeModels::FileArtifact
- Inherits:
-
AbstractArtifact
- Object
- AbstractArtifact
- CodeModels::FileArtifact
- Defined in:
- lib/codemodels/source_info.rb
Instance Attribute Summary collapse
-
#filename ⇒ Object
Returns the value of attribute filename.
Instance Method Summary collapse
Methods inherited from AbstractArtifact
#point_to_absolute, #position_to_absolute
Instance Attribute Details
#filename ⇒ Object
Returns the value of attribute filename.
47 48 49 |
# File 'lib/codemodels/source_info.rb', line 47 def filename @filename end |
Instance Method Details
#absolute_start ⇒ Object
49 50 51 52 53 54 |
# File 'lib/codemodels/source_info.rb', line 49 def absolute_start sp = SourcePoint.new sp.line = 1 sp.column = 1 sp end |