Revision 90197e7b
Added by Marc Dequènes about 13 years ago
- ID 90197e7bd70d31f0ef7cd6dde8f2e95b6dc08ab5
lib/cyborghood/cyborg.rb | ||
---|---|---|
include I18nTranslation
|
||
bindtextdomain("cyborghood", {:path => Config::L10N_DIR, :charset => "UTF-8"})
|
||
|
||
attr_reader :name
|
||
attr_reader :name, :services
|
||
|
||
def initialize
|
||
@name = self.class.name.split("::").last
|
||
def initialize(services = nil)
|
||
@services = services
|
||
|
||
@name = self.class.name.split("::").last
|
||
@config = Config.instance
|
||
|
||
# setup logs
|
Also available in: Unified diff
[evol] MapMaker API and internals rework §1, going forward to Dependency Injection using Needle