mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
And rubocop
This commit is contained in:
parent
9451bbed3b
commit
46c3e8cbeb
1 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue