Class: EmmyExtends::Thin::Connection
- Inherits:
-
EventMachine::Connection
- Object
- EventMachine::Connection
- EmmyExtends::Thin::Connection
- Defined in:
- lib/emmy_extends/thin/connection.rb
Instance Attribute Summary collapse
-
#delegate ⇒ Object
Returns the value of attribute delegate.
Instance Method Summary collapse
-
#method_missing(name, *a, &b) ⇒ Object
fix me did not works.
- #receive_data(*a) ⇒ Object
- #unbind(reason = nil) ⇒ Object
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
#delegate ⇒ Object
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 |