Class: Catalog::Document
- Inherits:
-
Object
- Object
- Catalog::Document
- Defined in:
- lib/catalog/models/document.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path:) ⇒ Document
constructor
A new instance of Document.
Constructor Details
#initialize(path:) ⇒ Document
Returns a new instance of Document.
5 6 7 |
# File 'lib/catalog/models/document.rb', line 5 def initialize(path:) @path = path end |
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
3 4 5 |
# File 'lib/catalog/models/document.rb', line 3 def path @path end |