>>207
とりあえず、こんな感じ?つっこみ歓迎。

def to_hash( array )
hash = Hash.new
array.each do | x |
if /(.+)=(.+)$/ =~ x
hash[ $1 ] = $2
end
end
return hash
end

x = ["a=1", "b=2", "c=3"]
p to_hash( x )