From 3185887fe496f43b379ee8cc4c23880264af71b1 Mon Sep 17 00:00:00 2001 From: ollietulloch Date: Wed, 10 Apr 2024 11:30:35 +0100 Subject: [PATCH] typos --- lib/ndr_import/file/base.rb | 2 +- lib/ndr_import/file/xml.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ndr_import/file/base.rb b/lib/ndr_import/file/base.rb index 60c1912..443894b 100644 --- a/lib/ndr_import/file/base.rb +++ b/lib/ndr_import/file/base.rb @@ -35,7 +35,7 @@ def files end # This method iterates over the tables in the given file and yields with three arguments: - # a tablename, a row enumerator (for that table) and any file metdata. + # a tablename, a row enumerator (for that table) and any file metadata. # For a spreadsheet it may yield for every worksheet in the file and for a CSV file it # will only yield once (the entire file is one table). # diff --git a/lib/ndr_import/file/xml.rb b/lib/ndr_import/file/xml.rb index 562014d..2c7c631 100644 --- a/lib/ndr_import/file/xml.rb +++ b/lib/ndr_import/file/xml.rb @@ -30,7 +30,7 @@ def prepare_slurped_file def prepare_streamed_file with_encoding_check(@filename) do |stream, encoding| @stream = stream - @encosing = encoding + @encoding = encoding end stream_metadata_values end