Rubocop tweaks

This commit is contained in:
Thomas Reynolds 2015-04-26 11:13:29 -07:00
parent 4be3fcfd31
commit c87e2e026e
9 changed files with 22 additions and 26 deletions

View file

@ -87,13 +87,11 @@ module Middleman
end
end
def method_missing(key, *args)
def method_missing(key, *_args)
if key?(key.to_sym)
self[key.to_sym]
elsif key?(key.to_s)
self[key.to_s]
else
super
end
end
end
@ -131,7 +129,6 @@ module Middleman
end
end
# Normalize a path to not include a leading slash
# @param [String] path
# @return [String]