If you're only using z13u_methods
for that delegate
call then you could do this:
delegate_args = [
:isbn_cleaned,
:oclc_cleaned,
:contents_cleaned,
:summary_cleaned,
:title_statement,
:is_serial?,
{ :to => :z13u, :prefix => true, :allow_nil => true }
]
delegate *delegate_args
I think that's the basic pattern that you need. There are other ways to get there of course:
delegate *(z13u_methods + [{ :to => :z13u, :prefix => true, :allow_nil => true }])
# If you don't mind changing z13u_methods
delegate *z13u_methods.push(:to => :z13u, :prefix => true, :allow_nil => true)
# If you don't want to change z13u_methods
delegate *z13u_methods.dup.push(:to => :z13u, :prefix => true, :allow_nil => true)
# ---------------------^^^
There are probably more variations on that theme, those are just a couple options that come to mind.
As far as using 1.8.7 is concerned, upgrade ASAP, I don't think 1.8.7 is even supported anymore.