2015-08-24から1日間の記事一覧
$ brew install homebrew/php/composer Cloning into '/usr/local/Library/Taps/homebrew/homebrew-php'... remote: Counting objects: 10817, done. remote: Compressing objects: 100% (25/25), done. remote: Total 10817 (delta 11), reused 0 (delta 0)…
Macのパッケージ管理ソフトHomeBrew 自家醸造のビール的な意味パッケージのインストール先は usr > local > Cellar ワインセラー的な? パッケージのインストール方法 brew install パッケージ名アンインストール方法 brew uninstall パッケージ名HomeBrewを…
Rubyの継承 class サブクラス名 << スーパークラス名 クラス内容 end
配列を数字で割り振るのではなく、文字列などで判別することができる arr= {'name' => 'hiyoko', 'email' => 'hiyoko@piyomail.com', '住所' => '北区'} for item in arr puts(item[0] + ":" + item[1]) end