summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-05-22 11:15:48 +0900
committerRandy Morgan <[email protected]>2012-05-22 11:15:48 +0900
commitec39d3f360cf48ac4f29f39025190fa7d88ab600 (patch)
tree0b64cd10200115de42880499a6bdaf9f24122fb6 /examples
parent64c043b1e2ab3631d3942047d528bd88a59f4ba7 (diff)
downloadcaxlsx-ec39d3f360cf48ac4f29f39025190fa7d88ab600.tar.gz
caxlsx-ec39d3f360cf48ac4f29f39025190fa7d88ab600.zip
keep working on a spec compliant method
Diffstat (limited to 'examples')
-rw-r--r--examples/sheet_protection.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sheet_protection.rb b/examples/sheet_protection.rb
index be6cf677..f76f5909 100644
--- a/examples/sheet_protection.rb
+++ b/examples/sheet_protection.rb
@@ -4,5 +4,5 @@ $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib"
require 'axlsx'
p = Axlsx::Package.new
-p.workbook.add_worksheet { |ws| ws.sheet_protection.password = 'fish' }
+p.workbook.add_worksheet { |ws| ws.sheet_protection.propper_password = 'fish' }
p.serialize 'sheet_protection.xlsx'