Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[review] ERB.new引数の非推奨警告対応 #92

Merged
merged 2 commits into from
Apr 23, 2024
Merged

[review] ERB.new引数の非推奨警告対応 #92

merged 2 commits into from
Apr 23, 2024

Conversation

aki77
Copy link
Contributor

@aki77 aki77 commented Apr 23, 2024

No description provided.

@aki77 aki77 changed the title ERB.new引数の非推奨警告対応 [review] ERB.new引数の非推奨警告対応 Apr 23, 2024
@@ -121,7 +121,7 @@ def render_with_layout(view)
# you have to pass a binding to this (a proc) so that ERB can have
# access to helper functions and local variables
def render_without_layout(view, binding)
ERB.new(File.read(File.join(VIEW_PATH, 'copytuner', view.to_s + '.html.erb')), nil, nil, 'frobnitz').result(binding)
ERB.new(File.read(File.join(VIEW_PATH, 'copytuner', view.to_s + '.html.erb')), eoutvar: 'frobnitz').result(binding)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aki77 aki77 merged commit 0ff3939 into master Apr 23, 2024
15 checks passed
@aki77 aki77 deleted the 0.17.1 branch April 23, 2024 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants