Skip to content

Commit 187b16a

Browse files
committed
Style/Lambda
1 parent c8a6f2e commit 187b16a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example_app_generator/spec/verify_custom_renderers_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def find_template(name, path)
150150
ActionView::Template.new(
151151
"",
152152
name,
153-
lambda { |template, _source = nil| %("Dynamic template with path '#{template.virtual_path}'") },
153+
->(template, _source = nil) { %("Dynamic template with path '#{template.virtual_path}'") },
154154
virtual_path: path,
155155
format: :html,
156156
locals: []

0 commit comments

Comments
 (0)