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

Clear memery cache for specific method #46

Closed
wants to merge 2 commits into from

Conversation

Lukom
Copy link

@Lukom Lukom commented Jan 21, 2024

Hey, I adore this gem, it simplifies things a lot! I wish it's integrated into ruby itself!

However I found that it lacks a feature to clear cache for specific method..

I've added a method clear_memery_cache(method_name) to address this.

@tycooon
Copy link
Owner

tycooon commented Apr 6, 2024

Hi @Lukom, I think it would be slightly better not to add a new method, but instead add an optional argument to existing clear_memery_cache! method. What do you think?

@tycooon
Copy link
Owner

tycooon commented May 12, 2024

Closing for now due to inactivity, feel free to reopen 👍

@tycooon tycooon closed this May 12, 2024
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