summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStefan <[email protected]>2022-05-23 12:56:27 +0200
committerStefan <[email protected]>2022-05-23 12:56:27 +0200
commit2a5c58faffb690831911f3799e8c097c6fdef793 (patch)
tree2fd97f6fa31dafb66808613320dd88285fcefe1d
parenta4c677d37c46c5db1cd4d79ea1b0d7f31b81172c (diff)
downloadcaxlsx-2a5c58faffb690831911f3799e8c097c6fdef793.tar.gz
caxlsx-2a5c58faffb690831911f3799e8c097c6fdef793.zip
Fix default values in docs
-rw-r--r--lib/axlsx/util/storage.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/axlsx/util/storage.rb b/lib/axlsx/util/storage.rb
index 40cd4a45..6c16bdcf 100644
--- a/lib/axlsx/util/storage.rb
+++ b/lib/axlsx/util/storage.rb
@@ -122,15 +122,15 @@ module Axlsx
# Creates a new storage object.
# @param [String] name the name of the storage
- # @option options [Integer] color @default black
- # @option options [Integer] type @default storage
- # @option options [String] data
- # @option options [Integer] left @default -1
- # @option options [Integer] right @default -1
- # @option options [Integer] child @default -1
- # @option options [Integer] created @default 0
- # @option options [Integer] modified @default 0
- # @option options [Integer] sector @default 0
+ # @option options [Integer] color (black)
+ # @option options [Integer] type (storage)
+ # @option options [String] data
+ # @option options [Integer] left (-1)
+ # @option options [Integer] right (-1)
+ # @option options [Integer] child (-1)
+ # @option options [Integer] created (0)
+ # @option options [Integer] modified (0)
+ # @option options [Integer] sector (0)
def initialize(name, options= {})
@left = @right = @child = -1
@sector = @size = @created = @modified = 0