od podstaw
Krzysztof Kempiński
@k_kempinski
Rozdział 1
1
2
3
Rozdział 2
1
https://www.ruby-lang.org/pl/downloads/
$ ./configure
$ make
$ sudo make installapt (Debian lub Ubuntu)
$ sudo apt-get install rubyHomebrew (macOS)
$ brew install rubyRVM (Ruby Version Manager, Linux i macOS)
$ curl -sSL https://get.rvm.io | bash -s stableRubyInstaller (Windows)
https://rubyinstaller.org/downloads/rvm.io
2
macOS i Linux
$ gem install rails --no-ri --no-rdoc$ rails --version
Rails 5.2.2Windows i macOS
http://railsinstaller.org/enRozdział 3
1
2
3
Zapewnienie jakości
Testy manualne
Testy automatyczne
Testy akceptacyjne
(ang. acceptance test)
Testy jednostkowe
(ang. unit test)
rspec
cucumber
Rozdział 4
1
2
3
Object > Kernel > BasicObject
4
/WZORZEC/modyfikatory
Rozdział 5
1
if conditional_1
code...
[elsif conditional_2
code...]...
[else
code...]
endunless conditional
code
[else
code ]
endcode if condition code unless conditional
4