Class: OKF::Registry::Link
- Inherits:
-
Struct
- Object
- Struct
- OKF::Registry::Link
- Defined in:
- lib/okf/registry.rb
Overview
A pointer from the global registry to another registry file: a unique
slug and the absolute registry path. Its bundles resolve through it at
read time under their own slugs, so nothing is copied and nothing goes
stale — the registry's "references, never content" rule one level up. Only
the global registry follows links (see .load), which is why a linked file's
own links are never read and there is no graph to cycle-guard.
Instance Attribute Summary collapse
-
#registry ⇒ Object
Returns the value of attribute registry.
-
#slug ⇒ Object
Returns the value of attribute slug.
Instance Attribute Details
#registry ⇒ Object
Returns the value of attribute registry
67 68 69 |
# File 'lib/okf/registry.rb', line 67 def registry @registry end |
#slug ⇒ Object
Returns the value of attribute slug
67 68 69 |
# File 'lib/okf/registry.rb', line 67 def slug @slug end |