Sha256: 7fffcacd1fd4a8c03e5d6ce571d0e8c371d95d2875800dd3205a5f9ab1850e4f

Contents?: true

Size: 309 Bytes

Versions: 2

Compression:

Stored size: 309 Bytes

Contents

class Rafters::DirectiveProcessor < Sprockets::DirectiveProcessor
  def process_require_components_directive
    Rafters.asset_paths.sort.each do |asset_path|
      each_entry(asset_path) do |pathname|
        context.require_asset(pathname) if context.asset_requirable?(pathname)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rafters-0.0.2 lib/rafters/directive_processor.rb
rafters-0.0.1 lib/rafters/directive_processor.rb