customize my own ruby code analysis

- initial version, will have bug later on