Sha256: 5b32462d9c0236fbc8a51d9a5adece57de2b17c60bea9e6897b51a49b0608ba6
Contents?: true
Size: 533 Bytes
Versions: 6
Compression:
Stored size: 533 Bytes
Contents
require 'sprockets' module Machined # We need to add accessors for the Machined # environment and the Sprocket's config to the # index, so the Context has access. class Index < Sprockets::Index # A reference to the Machined environment which # created this instance. attr_reader :machined # A reference to the configuration. attr_reader :config # def initialize(environment) @machined = environment.machined @config = environment.config super end end end
Version data entries
6 entries across 6 versions & 1 rubygems