ひよこメモ

備忘ブログ Ruby, Rails, AWS, html5, css3, javascript, vim,

Rubyの継承

Rubyの継承

class サブクラス名 << スーパークラス名
   クラス内容
end