2006-05-28 メソッドの作成 Ruby def func1(a,b) #defで始まる p self #親を表示 print a,b end #終わりはend func1("hoge1", "hoge2")