Skip to content

matzryo/refactoring-ruby-chap1-rspec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

refactoring-ruby-chap1-rspec

書籍『リファクタリング:Rubyエディション』の第一章の写経リポジトリです。

特徴

テストをRSpecで書きました。

使い方

「章番号_節番号_end」の形式で、節の終わりごとにタグを打ってあります。(例: 第一章第一節の読了時点 => 1_1_end)

書籍のコードのうち、誤記と思える箇所は、適宜変更しています。commmit messageに記録してあります。

例:

commit af7007789be779035c83fb19a7d9c784791441a1
Author: matzryo <matzryo@example.com>
Date:   Sat Nov 25 13:54:38 2017 +0900

    [update] 「モジュールの抽出」(Extract Module)

    module RegularPriceを抽出
    誤記? "module Price" => "module RegularPrice"

ライセンス

ライセンスとかよくわかりません。ご自由にお使いください。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages