use_ebook2cw command.
The use_ebook2cw command instructs CW to use the ebook2cw tone generator rather than CW’s own internal 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