Module: Radiant::Extension::Configurable
- Defined in:
- lib/radiant/extension.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
51 52 53 54 55 56 57 58 59 |
# File 'lib/radiant/extension.rb', line 51 def self.included(base) base.class_eval do include ::Rails::Engine::Configurable def self.config @config ||= Configuration.new(find_root_with_flag("lib")) end end end |