Base on rails guide
- module include, extend
- scope (default first, then other scopes)
- constant
- attr
- association
- validate
- callback
- method
### USAGE | |
### | |
### ./ElasticSearch.sh 1.5.0 will install Elasticsearch 1.5.0 | |
### ./ElasticSearch.sh 1.4.4 will install Elasticsearch 1.4.4 | |
### ./ElasticSearch.sh will fail because no version was specified (exit code 1) | |
### | |
### CLI options Contributed by @janpieper | |
### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch | |
### ElasticSearch version |
class Traxex | |
# st above | |
def attack | |
# do st | |
end | |
end | |
class AttackDecorator | |
def initialize(hero_object) |
class Traxex < Hero::RangedAgilityHero | |
# many things above | |
# .... | |
def normal_attack | |
arrow_shoot(base_damage) | |
end | |
def frost_arrows_attack | |
@is_iced_stun_affected = true |
Base on rails guide
###How to use enable vi mode Here
Press prefix and '['. Ex: Ctrl B [
I use Ctrl A for prefix
###My recommend
After go to vi mode prefix [
* { | |
font-family: "Lato", Arial; | |
} | |
header#header { | |
display: none; | |
} | |
input { | |
color: #676767; | |
font-size: 11px; |
module PaperclipStorageOption | |
module ClassMethods | |
def options | |
Rails.env.production? ? production_options : default_options | |
end | |
private | |
def production_options | |
{ |