lib/dry/view/render_environment_missing.rb in dry-view-0.7.0 vs lib/dry/view/render_environment_missing.rb in dry-view-0.7.1
- old
+ new
@@ -18,22 +18,22 @@
def context
raise MissingEnvironmentError
end
- def part(name, value, **options)
+ def part(_name, _value, **_options)
raise MissingEnvironmentError
end
- def scope(name = nil, locals)
+ def scope(_name = nil, _locals) # rubocop:disable Style/OptionalArguments
raise MissingEnvironmentError
end
- def template(name, scope, &block)
+ def template(_name, _scope)
raise MissingEnvironmentError
end
- def partial(name, scope, &block)
+ def partial(_name, _scope)
raise MissingEnvironmentError
end
def inflector
@inflector ||= Dry::Inflector.new