screen_test/settings/ansi/underline.rb in whirled_peas-0.9.1 vs screen_test/settings/ansi/underline.rb in whirled_peas-0.10.0
- old
+ new
@@ -1,9 +1,9 @@
require 'whirled_peas'
class TemplateFactory
def build(*)
- WhirledPeas.template do |composer, settings|
+ WhirledPeas.template(:test) do |composer, settings|
settings.flow = :t2b
composer.add_text('Underline') do |_, settings|
settings.underline = true
'This is underlined'
end