>>759
キーをシンボルにしていいならOpenStructを流用するってのは。

require 'ostruct'
class A < OpenStruct
def initialize
super(:a=>1, :b=>2, :c=>3)
end
def to_hash
@table
end
end