refactor methods.
Merge branch 'master' of https://github.com/CasperLaiTW/ERBAutocomplete

* 'master' of https://github.com/CasperLaiTW/ERBAutocomplete:
  refactor methods.

Conflicts:
	main.py