Permalink
Browse files

added a class method

  • Loading branch information...
1 parent 311b373 commit a16eaadf4a848aba0b67db0fe2db5409c83e3a3b @selman committed Apr 27, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 lib/selo_ring/serviceable.rb
@@ -77,6 +77,13 @@ def start
end
##
+ # Stops service
+
+ def self.stop
+ DRb.stop_service
+ end
+
+ ##
# Registers this service with the selected Rinda::RingServer.
def register

0 comments on commit a16eaad

Please sign in to comment.