class Sprockets::DirectiveProcessor
def constants
constants.yml was present. This is only available if
Sprockets 1.x allowed for constant interpolation if a
def constants if compat? pathname = Pathname.new(context.root_path).join("constants.yml") stat(pathname) ? YAML.load_file(pathname) : {} else {} end end