The use_ruby_tone command instructs CW to use CW’s internal tone generator rather than the ebook2cw tone generator.
Here is a script that shows both generators in action:
require "cw"
cw do
  use_ebook2cw
  word_count 4
  test_words
  use_ruby_tone
  test_words
end