diff options
| author | Geremia Taglialatela <[email protected]> | 2023-05-18 09:31:09 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-05-18 09:31:09 +0200 |
| commit | ed25dade53fd5e4d74d9d171fcc62e3fc2cd68a7 (patch) | |
| tree | e896ad6924a0230d3fd73fdcc899192e06890f35 /lib/axlsx/workbook/worksheet/cell.rb | |
| parent | 6a4b82def2e94b4811c38c37e606d426710d1e6c (diff) | |
| download | caxlsx-ed25dade53fd5e4d74d9d171fcc62e3fc2cd68a7.tar.gz caxlsx-ed25dade53fd5e4d74d9d171fcc62e3fc2cd68a7.zip | |
Fix YARD warnings
- `should_use_same_id_as?` has been replaced by `ids_cache_key` in 913003e
Also fixes a typo
[ci skip]
Diffstat (limited to 'lib/axlsx/workbook/worksheet/cell.rb')
| -rw-r--r-- | lib/axlsx/workbook/worksheet/cell.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/axlsx/workbook/worksheet/cell.rb b/lib/axlsx/workbook/worksheet/cell.rb index 4d1bae63..c978bde4 100644 --- a/lib/axlsx/workbook/worksheet/cell.rb +++ b/lib/axlsx/workbook/worksheet/cell.rb @@ -83,7 +83,7 @@ module Axlsx attr_accessor :raw_style # The index of the cellXfs item to be applied to this cell. - # @param [Hash] styles + # @param [Hash] style # @see Axlsx::Styles def add_style(style) self.raw_style ||= {} @@ -115,7 +115,7 @@ module Axlsx # automatically determed. # @see Cell#cell_type_from_value # @return [Symbol] The type of data this cell's value is cast to. - # @raise [ArgumentExeption] Cell.type must be one of [:date, time, :float, :integer, :string, :boolean] + # @raise [ArgumentError] Cell.type must be one of [:date, time, :float, :integer, :string, :boolean] # @note # If the value provided cannot be cast into the type specified, type is changed to :string and the following logic is applied. # :string to :integer or :float, type conversions always return 0 or 0.0 |
