Changes or encoding for Ruby 1.9.3

Also added method of module and changed bin/bashim