The task is to test drive the beginnings of an adventure game.
Tasks:
A.
- Create a constructor to create a Hero character.
- A Hero has a name
- A Hero has health
##Enumerable Lab
Create Bank using enumerable lodash methods.
Bank should be able to:
#!/bin/sh | |
# Uninstall Android Studio | |
rm -Rf /Applications/Android\ Studio.app | |
rm -Rf ~/Library/Preferences/AndroidStudio* | |
rm ~/Library/Preferences/com.google.android.studio.plist | |
rm -Rf ~/Library/Application\ Support/AndroidStudio* | |
rm -Rf ~/Library/Logs/AndroidStudio* | |
rm -Rf ~/Library/Caches/AndroidStudio* |
VERB | PATH | ACTION |
---|---|---|
GET | /pizzas | index |
GET | /pizzas/:id | show |
GET | /pizzas/new | new |
POST | /pizzas | create |
GET | /pizzas/:id/edit | edit |
POST | /pizzas/:id | update |
POST | /pizzas/:id/delete | destroy |
a_string = String.new('a_string') | |
another_string = String.new('another_string') | |
puts a_string | |
puts a_string.hash | |
puts another_string | |
puts another_string.hash | |
puts a_string.hash == another_string.hash | |
a_hash = {} |
VERB | PATH | ACTION |
---|---|---|
GET | /pizzas | index |
GET | /pizzas/:id | show |
GET | /pizzas/new | new |
POST | /pizzas | create |
GET | /pizzas/:id/edit | edit |
POST | /pizzas/:id | update |
POST | /pizzas/:id/delete | destroy |
echo "Installing and configuring Awesome Print for IRB" | |
gem install 'awesome_print' | |
cat >> "$HOME/.irbrc" << EOM | |
require "awesome_print" | |
AwesomePrint.irb! | |
require 'irb/completion' | |
IRB.conf[:AUTO_INDENT] = true | |
IRB.conf[:SAVE_HISTORY] = 1000 |
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm | |
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | |
# User-specific stuff | |
.idea/**/workspace.xml | |
.idea/**/tasks.xml | |
.idea/**/usage.statistics.xml | |
.idea/**/dictionaries | |
.idea/**/shelf |
{"lastUpload":"2019-01-28T15:34:09.186Z","extensionVersion":"v3.1.2"} |