Class: Pray::ProjectInvocationContext

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#environmentObject

Returns the value of attribute environment

Returns:

  • (Object)

    the current value of environment



10
11
12
# File 'lib/pray/project_context.rb', line 10

def environment
  @environment
end

#manifest_pathObject

Returns the value of attribute manifest_path

Returns:

  • (Object)

    the current value of manifest_path



10
11
12
# File 'lib/pray/project_context.rb', line 10

def manifest_path
  @manifest_path
end

#project_rootObject

Returns the value of attribute project_root

Returns:

  • (Object)

    the current value of project_root



10
11
12
# File 'lib/pray/project_context.rb', line 10

def project_root
  @project_root
end

Instance Method Details

#lockfile_pathObject



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

def lockfile_path
  File.join(project_root, "Prayfile.lock")
end