rubocop: separate deprecator error messages
This commit is contained in:
parent
b156aa912a
commit
8154eb40aa
|
@ -435,7 +435,8 @@ module Jekyll
|
||||||
def method_missing(method, *args, &blck)
|
def method_missing(method, *args, &blck)
|
||||||
if data.key?(method.to_s)
|
if data.key?(method.to_s)
|
||||||
Jekyll::Deprecator.deprecation_message "Document##{method} is now a key "\
|
Jekyll::Deprecator.deprecation_message "Document##{method} is now a key "\
|
||||||
"in the #data hash. Called by #{caller.first}."
|
"in the #data hash."
|
||||||
|
Jekyll::Deprecator.deprecation_message "Called by #{caller.first}."
|
||||||
data[method.to_s]
|
data[method.to_s]
|
||||||
else
|
else
|
||||||
super
|
super
|
||||||
|
|
Loading…
Reference in New Issue