1 / 2

プログラミング言語クラス 2-8 Ruby ソースコード 探検

プログラミング言語クラス 2-8 Ruby ソースコード 探検. 稲葉 一浩. 演習:宝探し. 課題ごとに ブランチを分 けよう !. VALUE の定義を探そう NODE の定義を探そう “ foo”.hello () とすると “Hello foo ” を返すメソッドを追加(ヒント: String クラスに追加) GC でオブジェクト終了のお知らせを表示 Fixnum で足し算したら引き算になるように変更(ヒント: VM の中身まで見ないと厳しい).

siusan
Download Presentation

プログラミング言語クラス 2-8 Ruby ソースコード 探検

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. プログラミング言語クラス2-8 Rubyソースコード探検 稲葉 一浩

  2. 演習:宝探し 課題ごとにブランチを分けよう! • VALUE の定義を探そう • NODE の定義を探そう • “foo”.hello() とすると “Hello foo” を返すメソッドを追加(ヒント: String クラスに追加) • GC でオブジェクト終了のお知らせを表示 • Fixnumで足し算したら引き算になるように変更(ヒント:VMの中身まで見ないと厳しい)

More Related