lib/nanoc/base/entities/context.rb in nanoc-4.8.5 vs lib/nanoc/base/entities/context.rb in nanoc-4.8.6
- old
+ new
@@ -32,14 +32,14 @@
end
# Returns a binding for this instance.
#
# @return [Binding] A binding for this instance
- # rubocop:disable Style/AccessorMethodName
+ # rubocop:disable Naming/AccessorMethodName
def get_binding
binding
end
- # rubocop:enable Style/AccessorMethodName
+ # rubocop:enable Naming/AccessorMethodName
def method_missing(method, *args, &blk)
ivar_name = '@' + method.to_s
if instance_variable_defined?(ivar_name)
instance_variable_get(ivar_name)