Class: Pray::ProjectInvocationContext
- Inherits:
-
Struct
- Object
- Struct
- Pray::ProjectInvocationContext
- Defined in:
- lib/pray/project_context.rb
Instance Attribute Summary collapse
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
-
#project_root ⇒ Object
Returns the value of attribute project_root.
Instance Method Summary collapse
Instance Attribute Details
#environment ⇒ Object
Returns the value of attribute environment
10 11 12 |
# File 'lib/pray/project_context.rb', line 10 def environment @environment end |
#manifest_path ⇒ Object
Returns the value of attribute manifest_path
10 11 12 |
# File 'lib/pray/project_context.rb', line 10 def manifest_path @manifest_path end |
#project_root ⇒ Object
Returns the value of attribute project_root
10 11 12 |
# File 'lib/pray/project_context.rb', line 10 def project_root @project_root end |
Instance Method Details
#lockfile_path ⇒ Object
11 12 13 |
# File 'lib/pray/project_context.rb', line 11 def lockfile_path File.join(project_root, "Prayfile.lock") end |