Loading

Ruby: autocomplete in irb and colorize with wirble and set as default

$ sudo gem install wirble
...

irb(main):002:0> require 'wirble'
irb(main):003:0>
irb(main):004:0> Wirble.init
irb(main):005:0> Wirble.colorize
irb(main):006:0>
irb(main):008:0> h = {:foo => "foo"}
=> {:foo=>"foo"}

irb(main):017:0> h.each
h.each          h.each_pair    h.each_with_index
h.each_cons     h.each_slice   h.each_with_object
h.each_key      h.each_value


To set Wirble as default for irb

~/.irbrc

require 'rubygems'
require 'wirble'
Wirble.init(:skip_prompt => :DEFAULT)
Wirble.colorize

1 comment:

​ေ​က်ာ္ႏွ​င္း​ဆီ​လြ​င္ said...

​ကို​စိုး​မ​င္း​ေ​ရ
​မ​ဆီ​မ​ဆို​င္ ​မ​န္႕ဦး​မ​ယ္
​ဗ​ဟု​သု​တၿ​ဖ​စ္​စ​ရာ ​အ​မွ​န္​ေၿ​ပာ​ရ​ရ​င္ ​လူၿ​ပိ​န္း​နား​လ​ည္​လြ​ယ္​တဲ႕ ​အ​ခ်​က္​ေ​လး​ေ​တြ ​လာ​ရွာ​ဖ​တ္​တာ ​မ်ား​လြ​န္း​လို႕​မူး​သြား​တ​ယ္
​ကို​ယ္႕​အ​ထ​င္ tips​ဆုိ​တဲ႕​ေ​ခါ​င္း​စဥ္​ေ​အာ​က္​မွာ​ပဲ​ရိွႏို​င္​တ​ယ္​ေ​နာ္
​ေ​နာ​က္​မွ​ထ​ပ္​လာ​ရွာဦး​မ​ယ္
​အ​မ်ားၾ​ကီး​ပဲ ​ေ​က်း​ဇူး​သိ​ပ္​တ​င္​ဖို႕​ေ​ကာ​င္း​တ​ယ္...
;)

က်ေနာ္ဖတ္ေသာ အျခား ဘေလာ့ / ဆိုဒ္မ်ား