class Opal::Sprockets::Server

def initialize options = {}

def initialize options = {}
  @use_index   = true
  @public_root = nil
  @public_urls = ['/']
  @sprockets   = options.fetch(:sprockets, ::Sprockets::Environment.new)
  @debug       = options.fetch(:debug, true)
  @prefix      = options.fetch(:prefix, '/assets')
  Opal.paths.each { |p| @sprockets.append_path(p) }
  yield self if block_given?
  create_app
end