Module: Lesmok::ClassMethods
- Included in:
- Lesmok
- Defined in:
- lib/lesmok.rb
Instance Method Summary collapse
Instance Method Details
#config ⇒ Object
9 10 11 |
# File 'lib/lesmok.rb', line 9 def config @configuration ||= Config.new end |
#configure {|config| ... } ⇒ Object
12 13 14 |
# File 'lib/lesmok.rb', line 12 def configure yield(config) end |
#logger ⇒ Object
15 16 17 |
# File 'lib/lesmok.rb', line 15 def logger config.logger end |