collectiveidea/delayed_job — pull request #555 by releu (2013-07-29 18:04:52+00:00)
Title: Fix using Struct

`Struct.new` returns a class. Inheritance isn't required.

```
class NewsletterJob < Struct.new(:text, :emails)
def perform
end
end

NewsletterJob.superclass # => #
NewsletterJob.superclass.superclass # => Struct

Test = Struct.new(:foo) do
def perform
end
end
Test.superclass # => Struct
```