This looks like a dead/unused code. What about simply removing it instead of keeping it?
Commented YCP code in Ruby file does not make any sense anyway...