Module: Chan::Mixin
- Included in:
- Object
- Defined in:
- lib/xchan/mixin.rb
Overview
A module that is included into Ruby's Object class.
Instance Method Summary collapse
-
#xchan(serializer = :marshal, **kw_args) ⇒ Chan::UNIXSocket
Returns an instance of Chan::UNIXSocket.
Instance Method Details
#xchan(serializer = :marshal, **kw_args) ⇒ Chan::UNIXSocket
Returns an instance of Chan::UNIXSocket.
17 18 19 |
# File 'lib/xchan/mixin.rb', line 17 def xchan(serializer = :marshal, **kw_args) Chan::UNIXSocket.new(serializer, **kw_args) end |