Class: Kettle::Family::ExecutionProfile::Definition

Inherits:
Struct
  • Object
show all
Defined in:
lib/kettle/family/execution_profile.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#allowed_mutationsObject

Returns the value of attribute allowed_mutations

Returns:

  • (Object)

    the current value of allowed_mutations



9
10
11
# File 'lib/kettle/family/execution_profile.rb', line 9

def allowed_mutations
  @allowed_mutations
end

#host_platform_policyObject

Returns the value of attribute host_platform_policy

Returns:

  • (Object)

    the current value of host_platform_policy



9
10
11
# File 'lib/kettle/family/execution_profile.rb', line 9

def host_platform_policy
  @host_platform_policy
end

#install_locationObject

Returns the value of attribute install_location

Returns:

  • (Object)

    the current value of install_location



9
10
11
# File 'lib/kettle/family/execution_profile.rb', line 9

def install_location
  @install_location
end

#lockfile_roleObject

Returns the value of attribute lockfile_role

Returns:

  • (Object)

    the current value of lockfile_role



9
10
11
# File 'lib/kettle/family/execution_profile.rb', line 9

def lockfile_role
  @lockfile_role
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



9
10
11
# File 'lib/kettle/family/execution_profile.rb', line 9

def name
  @name
end

#path_gem_policyObject

Returns the value of attribute path_gem_policy

Returns:

  • (Object)

    the current value of path_gem_policy



9
10
11
# File 'lib/kettle/family/execution_profile.rb', line 9

def path_gem_policy
  @path_gem_policy
end

Instance Method Details

#canonical_lockfile?Boolean

Returns:

  • (Boolean)


21
22
23
# File 'lib/kettle/family/execution_profile.rb', line 21

def canonical_lockfile?
  lockfile_role == :canonical
end

#local_path_gems?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/kettle/family/execution_profile.rb', line 17

def local_path_gems?
  path_gem_policy != :registry_only
end