Top Level Namespace

Defined Under Namespace

Modules: HTMLProofer Classes: FaviconCheck, HtmlCheck, ImageCheck, LinkCheck, ScriptCheck

Instance Method Summary collapse

Instance Method Details

#require_all(path) ⇒ Object


1
2
3
4
5
6
# File 'lib/html-proofer.rb', line 1

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