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



32
33
34
# File 'lib/okf/registry.rb', line 32

def path
  @path
end

#slugObject

Returns the value of attribute slug

Returns:

  • (Object)

    the current value of slug



32
33
34
# File 'lib/okf/registry.rb', line 32

def slug
  @slug
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



32
33
34
# File 'lib/okf/registry.rb', line 32

def title
  @title
end