Module: Icosmith
- Extended by:
- Icosmith
- Included in:
- Icosmith
- Defined in:
- lib/icosmith-rails.rb,
lib/icosmith-rails/font.rb,
lib/icosmith-rails/config.rb,
lib/icosmith-rails/railtie.rb,
lib/icosmith-rails/version.rb,
lib/icosmith-rails/generator.rb
Defined Under Namespace
Modules: Generators
Classes: Config, Font, Generator, Railtie
Constant Summary
collapse
- CONFIG_FILENAME =
"icosmith.yml"
- MANIFEST_FILENAME =
"manifest.json"
- VERSION =
"0.3.0"
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.config ⇒ Object
25
26
27
|
# File 'lib/icosmith-rails/config.rb', line 25
def self.config
@@config ||= Config.new
end
|
35
36
37
|
# File 'lib/icosmith-rails/config.rb', line 35
def self.configure
yield self.config
end
|
.logger ⇒ Object
29
30
31
32
33
|
# File 'lib/icosmith-rails/config.rb', line 29
def self.logger
@@logger ||= Logger.new(STDOUT).tap do |log|
log.formatter = lambda {|severity, datetime, progname, msg| " - #{msg}\n"}
end
end
|
Instance Method Details
#logger ⇒ Object
12
13
14
|
# File 'lib/icosmith-rails.rb', line 12
def logger
Config.logger
end
|