From d27925faf96c355ed3e8cc4eb7e447ccddd15e4e Mon Sep 17 00:00:00 2001 From: Martin madsen Date: Tue, 6 Aug 2013 17:28:22 +0200 Subject: Fix minor typos --- lib/axlsx/stylesheet/num_fmt.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/axlsx/stylesheet') 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 -- cgit v1.2.3