class Sprockets::DirectiveProcessor

def process_require_self_directive


*/
*= require_tree .
*= require_self
/*= require "reset"

before other dependencies are loaded.
index file to contain global styles that need to be defined
directives. Useful in CSS files, where it's common for the
inserted before any subsequent `require` or `include`
`require_self` causes the body of the current file to be
def process_require_self_directive
  if @has_written_body
    raise ArgumentError, "require_self can only be called once per source file"
  end
  context.require_asset(pathname)
  process_source
  included_pathnames.clear
  @has_written_body = true
end