Skip to content

Instantly share code, notes, and snippets.

@bkeepers
Created November 26, 2010 05:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bkeepers/716299 to your computer and use it in GitHub Desktop.
Save bkeepers/716299 to your computer and use it in GitHub Desktop.
DRB cucumber formatter
require 'drb'
module Cucumber
module Formatter
class Drb
SERVER_URI = "druby://localhost:8787"
def initialize(step_mother, io, options)
DRb.start_service
@formatter = DRbObject.new_with_uri(SERVER_URI)
@formatter.start(step_mother, options)
end
def method_missing(method, *args)
@formatter.send(method, *args)
end
def respond_to?(method)
@formatter.respond_to?(method)
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment