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

Returns the value of attribute error.



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

def error
  @error
end

Class Method Details

.included(base) ⇒ Object



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

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