Class: EmmyExtends::Thin::Connection

Inherits:
EventMachine::Connection
  • Object
show all
Defined in:
lib/emmy_extends/thin/connection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *a, &b) ⇒ Object

fix me did not works



14
15
16
# File 'lib/emmy_extends/thin/connection.rb', line 14

def method_missing(name, *a, &b)
  @delegate.send(name, *a, &b)
end

Instance Attribute Details

#delegateObject

Returns the value of attribute delegate.



3
4
5
# File 'lib/emmy_extends/thin/connection.rb', line 3

def delegate
  @delegate
end

Instance Method Details

#receive_data(*a) ⇒ Object



9
10
11
# File 'lib/emmy_extends/thin/connection.rb', line 9

def receive_data(*a)
  @delegate.receive_data(*a)
end

#unbind(reason = nil) ⇒ Object



5
6
7
# File 'lib/emmy_extends/thin/connection.rb', line 5

def unbind(reason=nil)
  @delegate.unbind
end