Class: OKF::Registry::Entry

Inherits:
Struct
  • Object
show all
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").

Instance Attribute Summary collapse

Instance Attribute Details

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



36
37
38
# File 'lib/okf/registry.rb', line 36

def path
  @path
end

#slugObject

Returns the value of attribute slug

Returns:

  • (Object)

    the current value of slug



36
37
38
# File 'lib/okf/registry.rb', line 36

def slug
  @slug
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



36
37
38
# File 'lib/okf/registry.rb', line 36

def title
  @title
end