Skip to content

Instantly share code, notes, and snippets.

# Color Coding
# http://www.alloycode.com/2010/6/26/automatic-color-coding-for-script-console-and-irb
begin
require "ap"
IRB::Irb.class_eval do
def output_value
ap @context.last_value
end
end
rescue LoadError => e
~/.vim[merging]% git merge akita
fatal: cannot read object 19084786987d7ec8d545b3608856c5e45dd5ab23 'snippets~akita': It is a submodule!
Merge with strategy recursive failed.
~/.vim[merging]%