Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Change private directive to be explicit #2038

Merged
merged 1 commit into from

2 participants

Francesco Rodríguez Guillermo Iguaran
Francesco Rodríguez

No description provided.

Francesco Rodríguez

/cc @dbussink Thanks :+1:

Guillermo Iguaran guilleiguaran merged commit 83d3947 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 19, 2012
  1. Francesco Rodríguez
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 4 deletions.
  1. +1 −2  lib/18/socket.rb
  2. +1 −2  lib/19/socket.rb
3  lib/18/socket.rb
View
@@ -757,8 +757,6 @@ def connect_nonblock(sockaddr)
return status
end
- private
-
def self.get_socket_type(type)
if type.kind_of? String
if type.prefix? "SOCK_"
@@ -776,6 +774,7 @@ def self.get_socket_type(type)
type
end
+ private_class_method :get_socket_type
end
class UNIXSocket < BasicSocket
3  lib/19/socket.rb
View
@@ -758,8 +758,6 @@ def connect_nonblock(sockaddr)
return status
end
- private
-
def self.get_socket_type(type)
if type.kind_of? String
if type.prefix? "SOCK_"
@@ -783,6 +781,7 @@ def self.get_socket_type(type)
type
end
+ private_class_method :get_socket_type
end
class UNIXSocket < BasicSocket
Something went wrong with that request. Please try again.