Class: Pray::RegistryIndex

Inherits:
Struct
  • Object
show all
Defined in:
lib/pray/publish.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(spec: "prayfile-distribution-1", packages: []) ⇒ RegistryIndex

Returns a new instance of RegistryIndex.



9
10
11
# File 'lib/pray/publish.rb', line 9

def initialize(spec: "prayfile-distribution-1", packages: [])
  super
end

Instance Attribute Details

#packagesObject

Returns the value of attribute packages

Returns:

  • (Object)

    the current value of packages



8
9
10
# File 'lib/pray/publish.rb', line 8

def packages
  @packages
end

#specObject

Returns the value of attribute spec

Returns:

  • (Object)

    the current value of spec



8
9
10
# File 'lib/pray/publish.rb', line 8

def spec
  @spec
end