Base for ruby binding