code extensions for ruby language.