1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00

And rubocop

This commit is contained in:
Thomas Reynolds 2018-12-27 12:44:58 -08:00
parent 9451bbed3b
commit 46c3e8cbeb

View file

@ -16,12 +16,8 @@ module Middleman
end
alias get []
def method_missing(name, *args, &block)
if @data.key?(name)
self[name]
else
nil
end
def method_missing(name, *_args)
self[name] if @data.key?(name)
end
end
end