I'm using irb on OS X, and when I press option left/right (or META+B/F) the cursor moves to the next/previous word. But irb doesn't wont to treat dot (.) character as a word separator.
I've tried to add the (.) to the .irbrc, so it looks like this now:
Readline.basic_word_break_characters = " \t\n`><=.;|&{("
But that has no effect.
I'm using the stock Mountain Lion ruby, and a manually compiled 1.9.3, both versions of irb behave similar. Also dot is treated as a separator in bash and in pry, so the system wide settings are probably fine.
Any help appreciated,
Thanks