Added TNV Manual code for RUBY.