Module: Mona::Loaders::Base::SetupDsl

Included in:
Mona::Loaders::Base
Defined in:
lib/mona/loaders/base.rb

Instance Method Summary collapse

Instance Method Details

#ignore(glob) ⇒ Object



57
58
59
# File 'lib/mona/loaders/base.rb', line 57

def ignore(glob)
  @ignore_dirs.push(glob)
end

#inflect(hash) ⇒ Object



49
50
51
# File 'lib/mona/loaders/base.rb', line 49

def inflect(hash)
  @inflections.merge!(hash)
end

#overwrite(proc) ⇒ Object



53
54
55
# File 'lib/mona/loaders/base.rb', line 53

def overwrite(proc)
  overwriters.push(proc)
end