Class: Pray::PackageDependency

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

Instance Attribute Summary collapse

Instance Attribute Details

#constraintObject

Returns the value of attribute constraint

Returns:

  • (Object)

    the current value of constraint



11
12
13
# File 'lib/pray/package_spec.rb', line 11

def constraint
  @constraint
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



11
12
13
# File 'lib/pray/package_spec.rb', line 11

def name
  @name
end

#optionalObject

Returns the value of attribute optional

Returns:

  • (Object)

    the current value of optional



11
12
13
# File 'lib/pray/package_spec.rb', line 11

def optional
  @optional
end