【文件属性】:
文件名称:ga-2015-july
文件大小:16KB
文件格式:ZIP
更新时间:2021-05-21 10:50:50
Ruby
面向对象设计类
依存关系
你会需要:
git( , ,linux:可能是apt-get或yum git-core)
现代版本的Ruby(1.9.3或更高版本)
设置
克隆此存储库:
$ git clone git@github.com:torqueforge/ga-2015-july.git
更改目录,以便您位于项目中:
$ cd ga-2015-july
安装依赖项:
$ gem install bundler # if you don't have it
$ bundle install
健全性检查设置
要验证所有设置是否正确,请运行以下命令:
$ ruby sanity_test.rb
您应该看到以下输出。
$ ruby sanity_test.rb
Run options: --seed 62459
# Running:
.
Finished in 0.00
【文件预览】:
ga-2015-july-master
----test_helper.rb(76B)
----bottles()
--------lib()
--------test()
--------README.md(12KB)
----references.txt(3KB)
----farm()
--------lib()
--------test()
--------README.md(1KB)
----Gemfile(90B)
----Guardfile(177B)
----sanity_test.rb(179B)
----house()
--------lib()
--------test()
--------README.md(3KB)
----README.md(3KB)
----Gemfile.lock(118B)
----.gitignore(30B)
----adhoc()
--------ruby_hierarchy.rb(3KB)
--------objects_and_messages.rb(2KB)