Class: Documentary::DocblockCollection
- Inherits:
-
Object
- Object
- Documentary::DocblockCollection
- Extended by:
- Forwardable
- Defined in:
- lib/documentary/docblock_collection.rb
Instance Method Summary collapse
- #endpoints ⇒ Object
-
#initialize ⇒ DocblockCollection
constructor
A new instance of DocblockCollection.
- #resources ⇒ Object
- #title_blocks ⇒ Object
Constructor Details
#initialize ⇒ DocblockCollection
Returns a new instance of DocblockCollection.
8 9 10 |
# File 'lib/documentary/docblock_collection.rb', line 8 def initialize @collection = [] end |
Instance Method Details
#endpoints ⇒ Object
20 21 22 |
# File 'lib/documentary/docblock_collection.rb', line 20 def endpoints fetch_subset :endpoint end |
#resources ⇒ Object
16 17 18 |
# File 'lib/documentary/docblock_collection.rb', line 16 def resources fetch_subset :resource end |
#title_blocks ⇒ Object
12 13 14 |
# File 'lib/documentary/docblock_collection.rb', line 12 def title_blocks fetch_subset :title_block end |