Sha256: 511580a7502e53d2aec307dd0614f05e6658eec4f139c46e9833cb0ee3425d4c

Contents?: true

Size: 347 Bytes

Versions: 6

Compression:

Stored size: 347 Bytes

Contents

module Rack
  module WebSocket
    module Extensions
      module Thin

        autoload :Connection, "#{::File.dirname(__FILE__)}/thin/connection"

        def self.included(thin)
          thin_connection = thin.const_get(:Connection)
          thin_connection.send(:include, Thin.const_get(:Connection))
        end

      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
websocket-rack-0.1.4 lib/rack/websocket/extensions/thin.rb
websocket-rack-0.1.3.1 lib/rack/websocket/extensions/thin.rb
websocket-rack-0.1.3 lib/rack/websocket/extensions/thin.rb
websocket-rack-0.1.2 lib/rack/websocket/extensions/thin.rb
websocket-rack-0.1.1 lib/rack/websocket/extensions/thin.rb
websocket-rack-0.1.0 lib/rack/websocket/extensions/thin.rb