Top Level Namespace

Defined Under Namespace

Modules: HtmlEmailCreator

Instance Method Summary collapse

Instance Method Details

#require_all(path) ⇒ Object



1
2
3
4
5
6
# File 'lib/html_email_creator.rb', line 1

def require_all(path)
  glob = File.join(File.dirname(__FILE__), path, '*.rb')
  Dir[glob].each do |f|
    require f
  end
end