Skip to content

Commit

Permalink
remove eql? and == from Rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
bufdev committed Aug 28, 2013
1 parent 72f5ace commit ea97803
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lib/protocol_buffers/runtime/rpc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,6 @@ def initialize(name, proto_name, request_class, response_class, service_class)
@service_class = service_class
end

def eql?(other)
self.class.equal?(other.class) &&\
name == other.name &&\
proto_name == other.proto_name &&\
request_class == other.request_class &&\
response_class == other.response_class &&\
service_class == other.service_class
end

alias == eql?

def to_s
{
:name => name,
Expand Down

0 comments on commit ea97803

Please sign in to comment.