added default behavior to set_ruby-function