14 lines
294 B
Ruby
14 lines
294 B
Ruby
module Mozo
|
|
module DrbCounter
|
|
def self.object
|
|
require 'drb'
|
|
DRbObject.new_with_uri('druby://localhost:9022')
|
|
end
|
|
|
|
# propagation method. Might save some searching. Hint: drb_counter/drb_counter.rb
|
|
def self.reload_stats!
|
|
object.reload_stats!
|
|
end
|
|
end
|
|
end
|