Class: Bones::Static
Instance Method Summary collapse
-
#initialize(app, *args, &block) ⇒ Static
constructor
A new instance of Static.
Constructor Details
#initialize(app, *args, &block) ⇒ Static
Returns a new instance of Static.
3 4 5 6 |
# File 'lib/bones/static.rb', line 3 def initialize(app, *args, &block) super app, :urls => Bones.public_directories, :root => Bones.root / 'public', &block end |