changed method names to match ruby convention

Signed-off-by: Bebe Peng <bebepeng@gmail.com>