Class: Luneta::Builder

Inherits:
Rack::Builder
  • Object
show all
Defined in:
lib/luneta/builder.rb

Instance Method Summary collapse

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