Module: WebSocket::ExceptionHandler

Included in:
Frame::Base, Handshake::Base
Defined in:
lib/websocket/exception_handler.rb

Defined Under Namespace

Modules: ClassMethods

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error.



4
5
6
# File 'lib/websocket/exception_handler.rb', line 4

def error
  @error
end

Class Method Details

.included(base) ⇒ Object



6
7
8
# File 'lib/websocket/exception_handler.rb', line 6

def self.included(base)
  base.extend(ClassMethods)
end