File: socket.rb

package info (click to toggle)
ruby-bunny 2.23.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,644 kB
  • sloc: ruby: 10,256; sh: 70; makefile: 8
file content (14 lines) | stat: -rw-r--r-- 213 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# See #165. MK.
if defined?(JRUBY_VERSION)
  require "bunny/jruby/socket"

  module Bunny
    SocketImpl = JRuby::Socket
  end
else
  require "bunny/cruby/socket"

  module Bunny
    SocketImpl = Socket
  end
end