Class: Superhosting::CompositeMapper::Site

Inherits:
Base
  • Object
show all
Defined in:
lib/superhosting/composite_mapper/site.rb

Instance Attribute Summary

Attributes inherited from Base

#etc, #lib, #web

Instance Method Summary collapse

Methods inherited from Base

#initialize, #method_missing

Constructor Details

This class inherits a constructor from Superhosting::CompositeMapper::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Superhosting::CompositeMapper::Base

Instance Method Details

#aliasesObject



4
5
6
# File 'lib/superhosting/composite_mapper/site.rb', line 4

def aliases
  aliases_mapper.lines
end

#aliases_mapperObject



8
9
10
# File 'lib/superhosting/composite_mapper/site.rb', line 8

def aliases_mapper
  self.lib.parent.parent.sites.f(self.name).aliases
end