Class: Luneta::Builder
- Inherits:
-
Rack::Builder
- Object
- Rack::Builder
- Luneta::Builder
- Defined in:
- lib/luneta/builder.rb
Instance Method Summary collapse
-
#initialize(&block) ⇒ Builder
constructor
A new instance of Builder.
Constructor Details
#initialize(&block) ⇒ Builder
Returns a new instance of Builder.
3 4 5 6 7 8 9 10 |
# File 'lib/luneta/builder.rb', line 3 def initialize(&block) super do use Rack::Static, :urls => ["/stylesheets", "/javascripts", "/images"] yield self end end |