Class: Pray::ManifestLocal

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path:, position: "after", optional: false, bound: false) ⇒ ManifestLocal

Returns a new instance of ManifestLocal.



51
52
53
# File 'lib/pray/manifest.rb', line 51

def initialize(path:, position: "after", optional: false, bound: false)
  super
end

Instance Attribute Details

#boundObject

Returns the value of attribute bound

Returns:

  • (Object)

    the current value of bound



50
51
52
# File 'lib/pray/manifest.rb', line 50

def bound
  @bound
end

#optionalObject

Returns the value of attribute optional

Returns:

  • (Object)

    the current value of optional



50
51
52
# File 'lib/pray/manifest.rb', line 50

def optional
  @optional
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



50
51
52
# File 'lib/pray/manifest.rb', line 50

def path
  @path
end

#positionObject

Returns the value of attribute position

Returns:

  • (Object)

    the current value of position



50
51
52
# File 'lib/pray/manifest.rb', line 50

def position
  @position
end