Class: Pray::ManifestPackage

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, constraint: "*", source: nil, exports: [], targets: [], features: [], groups: [], optional: false, path: nil, git: nil, tag: nil, rev: nil, tarball: nil, oci: nil, file: nil, roles: [], bound: false) ⇒ ManifestPackage

Returns a new instance of ManifestPackage.



41
42
43
44
45
46
47
# File 'lib/pray/manifest.rb', line 41

def initialize(
  name:, constraint: "*", source: nil, exports: [], targets: [], features: [], groups: [],
  optional: false, path: nil, git: nil, tag: nil, rev: nil, tarball: nil, oci: nil,
  file: nil, roles: [], bound: false
)
  super
end

Instance Attribute Details

#boundObject

Returns the value of attribute bound

Returns:

  • (Object)

    the current value of bound



37
38
39
# File 'lib/pray/manifest.rb', line 37

def bound
  @bound
end

#constraintObject

Returns the value of attribute constraint

Returns:

  • (Object)

    the current value of constraint



37
38
39
# File 'lib/pray/manifest.rb', line 37

def constraint
  @constraint
end

#exportsObject

Returns the value of attribute exports

Returns:

  • (Object)

    the current value of exports



37
38
39
# File 'lib/pray/manifest.rb', line 37

def exports
  @exports
end

#featuresObject

Returns the value of attribute features

Returns:

  • (Object)

    the current value of features



37
38
39
# File 'lib/pray/manifest.rb', line 37

def features
  @features
end

#fileObject

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



37
38
39
# File 'lib/pray/manifest.rb', line 37

def file
  @file
end

#gitObject

Returns the value of attribute git

Returns:

  • (Object)

    the current value of git



37
38
39
# File 'lib/pray/manifest.rb', line 37

def git
  @git
end

#groupsObject

Returns the value of attribute groups

Returns:

  • (Object)

    the current value of groups



37
38
39
# File 'lib/pray/manifest.rb', line 37

def groups
  @groups
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



37
38
39
# File 'lib/pray/manifest.rb', line 37

def name
  @name
end

#ociObject

Returns the value of attribute oci

Returns:

  • (Object)

    the current value of oci



37
38
39
# File 'lib/pray/manifest.rb', line 37

def oci
  @oci
end

#optionalObject

Returns the value of attribute optional

Returns:

  • (Object)

    the current value of optional



37
38
39
# File 'lib/pray/manifest.rb', line 37

def optional
  @optional
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



37
38
39
# File 'lib/pray/manifest.rb', line 37

def path
  @path
end

#revObject

Returns the value of attribute rev

Returns:

  • (Object)

    the current value of rev



37
38
39
# File 'lib/pray/manifest.rb', line 37

def rev
  @rev
end

#rolesObject

Returns the value of attribute roles

Returns:

  • (Object)

    the current value of roles



37
38
39
# File 'lib/pray/manifest.rb', line 37

def roles
  @roles
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



37
38
39
# File 'lib/pray/manifest.rb', line 37

def source
  @source
end

#tagObject

Returns the value of attribute tag

Returns:

  • (Object)

    the current value of tag



37
38
39
# File 'lib/pray/manifest.rb', line 37

def tag
  @tag
end

#tarballObject

Returns the value of attribute tarball

Returns:

  • (Object)

    the current value of tarball



37
38
39
# File 'lib/pray/manifest.rb', line 37

def tarball
  @tarball
end

#targetsObject

Returns the value of attribute targets

Returns:

  • (Object)

    the current value of targets



37
38
39
# File 'lib/pray/manifest.rb', line 37

def targets
  @targets
end