Sha256: 5afc34383709ce11bf37a6c53deae1d60c07f8d82761f9e1daa15a86868421d7

Contents?: true

Size: 225 Bytes

Versions: 1

Compression:

Stored size: 225 Bytes

Contents

class BBQueue::TestJob
  attr_accessor :x, :y

  def initialize(x, y)
    self.x = x
    self.y = y
  end

  def ==(test_object)
    [self.x, self.y] == [test_object.x, test_object.y]
  end

  def work
    x + y
  end
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bbqueue-0.0.1 test/bbqueue/test_job.rb