diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/data_validation.rb | 6 |
1 files changed, 4 insertions, 2 deletions
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 |
