class Cucumber::Formatter::Debug
def initialize(runtime, io, options)
def initialize(runtime, io, options) @io = io end
def log(message)
def log(message) return unless ENV['DEBUG'] @io.puts "* #{message}" end
def method_missing(name, *args)
def method_missing(name, *args) print(name) end
def print(text)
def print(text) @io.puts text end
def puts(*args)
def puts(*args) print("puts") end
def respond_to?(*args)
def respond_to?(*args) true end