Entries from 2013-01-19 to 1 day

pryの履歴からanythingっぽい感じで絞り込む

必要. 適当にgem installすれば良いと思う https://github.com/ToQoz/ruby-anything https://github.com/ToQoz/pry-command_result ~/.pryrc に追記 require 'ruby-anything' def anything_hist(tail = 10) _anything_ command_result("hist --tail #{tail}"…

pry上で小さなパーツを組み合わせるみたいな環境を作りたかった

rubyのString/Symbol -> pryのcommand というのは 以前 http://toqoz.hateblo.jp/entry/2013/01/17/103458 に書いた。 pryのcommand -> rubyのブロック というにパイプを繋げたいと思ってpry-command_resultっていうのを作った。 Pryのコマンドっていうのは …