Class: Rebuy_Deployment
- Inherits:
-
Object
- Object
- Rebuy_Deployment
- Defined in:
- lib/rebuy_deployment.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
- #get_rakefile_path ⇒ Object
- #get_receipt_path ⇒ Object
-
#initialize ⇒ Rebuy_Deployment
constructor
A new instance of Rebuy_Deployment.
Constructor Details
#initialize ⇒ Rebuy_Deployment
Returns a new instance of Rebuy_Deployment.
3 4 5 |
# File 'lib/rebuy_deployment.rb', line 3 def initialize @path = File. File.dirname(__FILE__) end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
2 3 4 |
# File 'lib/rebuy_deployment.rb', line 2 def path @path end |
Instance Method Details
#get_rakefile_path ⇒ Object
11 12 13 |
# File 'lib/rebuy_deployment.rb', line 11 def get_rakefile_path @path + "/rebuy_deployment/rakefile" end |
#get_receipt_path ⇒ Object
7 8 9 |
# File 'lib/rebuy_deployment.rb', line 7 def get_receipt_path @path + "/rebuy_deployment/deploy.rb" end |