Method: Mona::Loaders::Base#initialize
- Defined in:
- lib/mona/loaders/base.rb
#initialize(root_path, &block) ⇒ Base
Returns a new instance of Base.
18 19 20 21 22 23 24 25 26 |
# File 'lib/mona/loaders/base.rb', line 18 def initialize(root_path, &block) @root_path = root_path @overwriters = [] @inflections = {} @ignore_dirs = [] @autoload_dirs = [] instance_exec(&block) if block_given? end |