Class: Eclix::Local
- Inherits:
-
Object
- Object
- Eclix::Local
- Defined in:
- lib/eclix/sync.rb
Instance Attribute Summary collapse
-
#project_home ⇒ Object
readonly
Returns the value of attribute project_home.
Instance Method Summary collapse
-
#initialize(project_home) ⇒ Local
constructor
A new instance of Local.
- #publication_dir(publication_name) ⇒ Object
Constructor Details
#initialize(project_home) ⇒ Local
Returns a new instance of Local.
36 37 38 |
# File 'lib/eclix/sync.rb', line 36 def initialize(project_home) @project_home = project_home end |
Instance Attribute Details
#project_home ⇒ Object (readonly)
Returns the value of attribute project_home.
35 36 37 |
# File 'lib/eclix/sync.rb', line 35 def project_home @project_home end |
Instance Method Details
#publication_dir(publication_name) ⇒ Object
39 40 41 |
# File 'lib/eclix/sync.rb', line 39 def publication_dir(publication_name) "#{project_home}/publications/#{publication_name}/src/main/webapp/" end |