diff --git a/lib/mixlib/archive/lib_archive.rb b/lib/mixlib/archive/lib_archive.rb index 2afad90..1edb6dd 100644 --- a/lib/mixlib/archive/lib_archive.rb +++ b/lib/mixlib/archive/lib_archive.rb @@ -14,7 +14,7 @@ def initialize(archive, options = {}) # Extracts the archive to the given +destination+ # # === Parameters - # perms:: should the extracter use permissions from the archive. + # perms:: should the extractor use permissions from the archive. # ignore[Array]:: an array of matches of file paths to ignore def extract(destination, perms: true, ignore: []) ignore_re = Regexp.union(ignore) diff --git a/lib/mixlib/archive/tar.rb b/lib/mixlib/archive/tar.rb index 092092e..e2c9ab6 100644 --- a/lib/mixlib/archive/tar.rb +++ b/lib/mixlib/archive/tar.rb @@ -18,7 +18,7 @@ def initialize(archive, options = {}) # Extracts the archive to the given +destination+ # # === Parameters - # perms:: should the extracter use permissions from the archive. + # perms:: should the extractor use permissions from the archive. # ignore[Array]:: an array of matches of file paths to ignore def extract(destination, perms: true, ignore: []) # (http://stackoverflow.com/a/31310593/506908)