Method: UnifiedAssets::Server#initialize

Defined in:
lib/unified_assets/server.rb

#initialize(app, options) ⇒ Server

Returns a new instance of Server.



4
5
6
7
8
9
10
# File 'lib/unified_assets/server.rb', line 4

def initialize(app, options)
  @app    = app
  @root   = options[:root] or raise ArgumentError, ":root option is required"
  @assets = options[:assets]
  @minify = options[:minify]
  @debug  = options[:debug]
end