summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMartin madsen <[email protected]>2013-08-06 17:28:22 +0200
committerMartin Bjeldbak Madsen <[email protected]>2013-08-06 19:34:47 +0200
commitf43c8021df326f1bd7c37c58ed6a957ae04a27e1 (patch)
tree4ca4d5d2ad7ebd8bf49ad3c4dd4255f0d6a16104
parent2c3a0b821abaef509fefee0f6e096073180c3337 (diff)
downloadcaxlsx-f43c8021df326f1bd7c37c58ed6a957ae04a27e1.tar.gz
caxlsx-f43c8021df326f1bd7c37c58ed6a957ae04a27e1.zip
Fix minor typos
-rw-r--r--lib/axlsx/stylesheet/num_fmt.rb4
-rw-r--r--lib/axlsx/workbook/defined_name.rb2
2 files changed, 3 insertions, 3 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
diff --git a/lib/axlsx/workbook/defined_name.rb b/lib/axlsx/workbook/defined_name.rb
index b55856de..3a606024 100644
--- a/lib/axlsx/workbook/defined_name.rb
+++ b/lib/axlsx/workbook/defined_name.rb
@@ -105,7 +105,7 @@ module Axlsx
attr_reader :local_sheet_id
# The local sheet index (0-based)
- # @param [Integer] value the unsinged integer index of the sheet this defined_name applies to.
+ # @param [Integer] value the unsigned integer index of the sheet this defined_name applies to.
def local_sheet_id=(value)
Axlsx::validate_unsigned_int(value)
@local_sheet_id = value