Class: Steep::Project::SignatureFile
- Inherits:
-
Object
- Object
- Steep::Project::SignatureFile
- Defined in:
- lib/steep/project/file.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#content_updated_at ⇒ Object
readonly
Returns the value of attribute content_updated_at.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path:) ⇒ SignatureFile
constructor
A new instance of SignatureFile.
- #parse ⇒ Object
Constructor Details
#initialize(path:) ⇒ SignatureFile
Returns a new instance of SignatureFile.
104 105 106 107 |
# File 'lib/steep/project/file.rb', line 104 def initialize(path:) @path = path self.content = "" end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
101 102 103 |
# File 'lib/steep/project/file.rb', line 101 def content @content end |
#content_updated_at ⇒ Object (readonly)
Returns the value of attribute content_updated_at.
102 103 104 |
# File 'lib/steep/project/file.rb', line 102 def content_updated_at @content_updated_at end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
100 101 102 |
# File 'lib/steep/project/file.rb', line 100 def path @path end |
Instance Method Details
#parse ⇒ Object
109 110 111 |
# File 'lib/steep/project/file.rb', line 109 def parse Parser.parse_signature(content, name: path) end |