In Ruby 1.8.6, I could write class PerformableMethod < Struct.new(:object, :method, :args)
Now in Ruby 1.9.3, that throws an error: superclass mismatch for class PerformableMethod
It works if I change the code to:
class PerformableMethod
attr_accessor :object, :method_name, :args
But why doesn't the struct work?