lib/fast_excel/binding/workbook.rb in fast_excel-0.4.0 vs lib/fast_excel/binding/workbook.rb in fast_excel-0.4.1

- old
+ new

@@ -145,11 +145,11 @@ end # @param [String] sheetname # @return [Symbol from _enum_error_] def validate_worksheet_name(sheetname) - Libxlsxwriter.workbook_validate_worksheet_name(self, sheetname) + Libxlsxwriter.workbook_validate_sheet_name(self, sheetname) end # @return [nil] def free() Libxlsxwriter.workbook_free(self) @@ -317,15 +317,15 @@ # @param [String] name # @return [Worksheet] # @scope class attach_function :workbook_get_worksheet_by_name, :workbook_get_worksheet_by_name, [Workbook, :string], Worksheet - # @method workbook_validate_worksheet_name(workbook, sheetname) + # @method workbook_validate_sheet_name(workbook, sheetname) # @param [Workbook] workbook # @param [String] sheetname # @return [Symbol from _enum_error_] # @scope class - attach_function :workbook_validate_worksheet_name, :workbook_validate_worksheet_name, [Workbook, :string], :error + attach_function :workbook_validate_sheet_name, :workbook_validate_sheet_name, [Workbook, :string], :error # @method workbook_free(workbook) # @param [Workbook] workbook # @return [nil] # @scope class