added a print debug statement in ruby.rb testing whether the method is executed or not