From 5e1f56053c4cb2841a41ea642bb28abf3f055594 Mon Sep 17 00:00:00 2001 From: randym Date: Thu, 15 Feb 2018 13:54:00 +0900 Subject: chore(examples): do more crazy in the data_validation example --- examples/data_validation.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/data_validation.rb b/examples/data_validation.rb index c91b6c43..b95a6397 100644 --- a/examples/data_validation.rb +++ b/examples/data_validation.rb @@ -23,7 +23,9 @@ p.workbook.add_worksheet do |ws| :errorStyle => :information, :showInputMessage => true, :promptTitle => 'Be careful!', - :prompt => 'We really want a value between 5 and 10, but it is OK if you want to break the rules.'}) + :prompt => %{We really want a value between 5 and 10, +but it is OK if you want to break the rules. +}}) ws.add_data_validation("B1:B5", { :type => :textLength, @@ -58,7 +60,7 @@ p.workbook.add_worksheet do |ws| :error => 'Please use the dropdown selector to choose the value', :errorStyle => :stop, :showInputMessage => true, - :prompt => 'Choose the value from the dropdown'}) + :prompt => '& Choose the value from the dropdown'}) end -- cgit v1.2.3