I
iMelody Ooo
class ParaList
attr_reader:classname
attr_writeraralist
def initialize(name)
@classname = name
@paralist = Hash.new
end
end
$cellparalist = ParaList.new("AAA")
def MmlParse.addpara(paraclass,mo,mmlparalist)
a = Hash.new
a = paraclass.paralist
#Error:in `addpara': undefined method `paralist' for #<ParaList:0xc6eff5
b = Hash.new
b["AAA"]=100;
a = b
}
attr_reader:classname
attr_writeraralist
def initialize(name)
@classname = name
@paralist = Hash.new
end
end
$cellparalist = ParaList.new("AAA")
def MmlParse.addpara(paraclass,mo,mmlparalist)
a = Hash.new
a = paraclass.paralist
#Error:in `addpara': undefined method `paralist' for #<ParaList:0xc6eff5
b = Hash.new
b["AAA"]=100;
a = b
}