Top Level Namespace

Defined Under Namespace

Modules: HTMLProofer Classes: FaviconCheck, HtmlCheck, ImageCheck, LinkCheck, OpenGraphCheck, OpenGraphElement, 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)
  dir = File.join(File.dirname(__FILE__), path)
  Dir[File.join(dir, '*.rb')].each do |f|
    require f
  end
end