Class: Eclix::Local

Inherits:
Object
  • Object
show all
Defined in:
lib/eclix/sync.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_homeObject (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