class PrintLineJob
  extend QueueingRabbit::Job

  class << self
    attr_accessor :io
  end

  queue :print_line_job, :durable => true

  def self.perform(arguments = {})
    self.io.puts arguments[:line]
  end
end
class PrintLineJob
  extend QueueingRabbit::Job

  class << self
    attr_writer :io
  end

  queue :print_line_job, :durable => true

  def self.perform(arguments = {})
    self.io.puts arguments[:line]
  end

  def self.io
    @io ||= STDOUT
  end
end
Update test PrintLineJob with the default value for io.
Update test PrintLineJob with the default value for io.
