summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/stylesheet
diff options
context:
space:
mode:
authorRandy Morgan (@morgan_randy) <[email protected]>2013-08-16 20:21:30 -0700
committerRandy Morgan (@morgan_randy) <[email protected]>2013-08-16 20:21:30 -0700
commitaa391f88c902ab80a81a0eab507c2a4a2c9320d1 (patch)
tree5bab3ca7f73cd2be91b0a6c30a5e88164a002838 /lib/axlsx/stylesheet
parent6b865617a3305d780c51cece8f11dbe84f9e0a30 (diff)
parent691ed31e80b125c9007fdb3475cb8c25c132941c (diff)
downloadcaxlsx-aa391f88c902ab80a81a0eab507c2a4a2c9320d1.tar.gz
caxlsx-aa391f88c902ab80a81a0eab507c2a4a2c9320d1.zip
Merge pull request #226 from Fapper/patch-1
Correct minor typos
Diffstat (limited to 'lib/axlsx/stylesheet')
-rw-r--r--lib/axlsx/stylesheet/num_fmt.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/axlsx/stylesheet/num_fmt.rb b/lib/axlsx/stylesheet/num_fmt.rb
index a796b1c7..7016c989 100644
--- a/lib/axlsx/stylesheet/num_fmt.rb
+++ b/lib/axlsx/stylesheet/num_fmt.rb
@@ -10,7 +10,7 @@ module Axlsx
# Creates a new NumFmt object
# @param [Hash] options Options for the number format object
# @option [Integer] numFmtId The predefined format id or new format id for this format
- # @option [String] fomratCode The format code for this number format
+ # @option [String] formatCode The format code for this number format
def initialize(options={})
@numFmtId = 0
@formatCode = ""
@@ -23,7 +23,7 @@ module Axlsx
# @see http://support.microsoft.com/kb/264372
attr_reader :formatCode
- # @return [Integer] An unsinged integer referencing a standard or custom number format.
+ # @return [Integer] An unsigned integer referencing a standard or custom number format.
# @note
# These are the known formats I can dig up. The constant NUM_FMT_PERCENT is 9, and uses the default % formatting. Axlsx also defines a few formats for date and time that are commonly used in asia as NUM_FMT_YYYYMMDD and NUM_FRM_YYYYMMDDHHMMSS.
# 1 0