diff --git a/Rakefile b/Rakefile index 4cacf75..479b2fc 100644 --- a/Rakefile +++ b/Rakefile @@ -64,4 +64,4 @@ task 'bundle:outdated' do sh("bundle outdated --only-explicit | tee #{bundle_outdated_report_pathname}") end -task default: %i[spec features rubocop yardstick_measure bundle:audit license_finder] +task default: %i[spec features rubocop yard yardstick_measure bundle:audit license_finder] diff --git a/lib/sugar_utils/file/write_options.rb b/lib/sugar_utils/file/write_options.rb index 972aab7..d130eef 100644 --- a/lib/sugar_utils/file/write_options.rb +++ b/lib/sugar_utils/file/write_options.rb @@ -4,7 +4,7 @@ module SugarUtils module File # @api private class WriteOptions - # @parma filename [String] + # @param filename [String] # @param options [Hash] def initialize(filename, options) @filename = filename @@ -47,7 +47,7 @@ def group @options[:group] || @existing_group end - # @param keys [Array] + # @param args [Array] # @return [Hash] def slice(*args) keys = args.flatten.compact