Skip to content
New issue

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

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

Already on GitHub? # to your account

Reuse the lvar instead of calling File.dirname(__FILE__) again and again #1979

Merged
merged 1 commit into from
May 14, 2020

Conversation

amatsuda
Copy link
Contributor

Here's a trivial patch that replaces multiple method calls for fetching current directory to an already fetched local variable.

@koic koic merged commit 5cd60ef into faker-ruby:master May 14, 2020
@koic
Copy link
Member

koic commented May 14, 2020

Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants