Top Level Namespace

Defined Under Namespace

Modules: Jekyll, Sprockets, SprocketsFileReaderPatches, SprocketsWriterPatches

Instance Method Summary collapse

Instance Method Details

#require_all(*globs) ⇒ Object

– rubocop:disable Layout/BlockEndNewline rubocop:disable Layout/MultilineBlockLayout rubocop:disable Style/BlockDelimiters –



13
14
15
16
17
18
# File 'lib/jekyll/assets.rb', line 13

def require_all(*globs)
  path = Pathutil.new("assets").expand_path(__dir__)
  globs.each { |v| path.glob(v).reject(&:directory?).each do |vv|
    require vv
  end }
end