Top Level Namespace

Defined Under Namespace

Modules: JekyllPluginSupportVersion, JekyllSupport, JekyllSupportError, NoArgParsing Classes: Collections, Registers, SiteMock, StandardError, TestParseContext

Instance Method Summary collapse

Instance Method Details

#require_directory(dir) ⇒ Object



5
6
7
8
9
# File 'lib/jekyll_plugin_support.rb', line 5

def require_directory(dir)
  Dir[File.join(dir, '*.rb')].sort.each do |file|
    require file unless file == __FILE__
  end
end