Method: Faye::StaticServer#initialize
- Defined in:
- lib/faye/adapters/static_server.rb
#initialize(directory, path_regex) ⇒ StaticServer
Returns a new instance of StaticServer.
4 5 6 7 8 9 |
# File 'lib/faye/adapters/static_server.rb', line 4 def initialize(directory, path_regex) @directory = directory @path_regex = path_regex @path_map = {} @index = {} end |