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, ) @app = app @root = [:root] or raise ArgumentError, ":root option is required" @assets = [:assets] @minify = [:minify] @debug = [:debug] end |