def create_sprocket(name, options = {}, &block) # :nodoc:
      options.reverse_merge! :root => root
      Sprocket.new(self, options).tap do |sprocket|
        define_singleton_method(name) { get_sprocket(name) }
        set_sprocket(name, sprocket)
        yield sprocket if block_given?
      end
    end
def create_sprocket(name, options = {}, &block) # :nodoc:
      options.reverse_merge! :root => root
      Sprocket.new(self, options).tap do |sprocket|
        define_singleton_method(name) { get_sprocket(name) }
        set_sprocket(name, sprocket)
        yield sprocket if block_given?
      end
    end
Factory method for creating a `Machined::Sprocket` instance.
 This is used in both `#append_sprocket` and `#prepend_sprocket`.