Class: OKF::Registry::Entry
- Inherits:
-
Struct
- Object
- Struct
- OKF::Registry::Entry
- Defined in:
- lib/okf/registry.rb
Overview
One registered bundle: a unique slug, the absolute path on disk, and a
human-readable title ("parent/dir"). link names the Link an entry
arrived through (nil for one this registry owns), and origin the slug it
carries in that linked file — the two differ only when the bare name was
already taken here.
Instance Attribute Summary collapse
-
#link ⇒ Object
Returns the value of attribute link.
-
#origin ⇒ Object
Returns the value of attribute origin.
-
#path ⇒ Object
Returns the value of attribute path.
-
#slug ⇒ Object
Returns the value of attribute slug.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Attribute Details
#link ⇒ Object
Returns the value of attribute link
39 40 41 |
# File 'lib/okf/registry.rb', line 39 def link @link end |
#origin ⇒ Object
Returns the value of attribute origin
39 40 41 |
# File 'lib/okf/registry.rb', line 39 def origin @origin end |
#path ⇒ Object
Returns the value of attribute path
39 40 41 |
# File 'lib/okf/registry.rb', line 39 def path @path end |
#slug ⇒ Object
Returns the value of attribute slug
39 40 41 |
# File 'lib/okf/registry.rb', line 39 def slug @slug end |
#title ⇒ Object
Returns the value of attribute title
39 40 41 |
# File 'lib/okf/registry.rb', line 39 def title @title end |