cells icon indicating copy to clipboard operation
cells copied to clipboard

Fix ArgumentError: wrong number of arguments for Cell:: Caching

Open taketo1113 opened this issue 1 year ago • 2 comments

It fxied argument error Cell::Caching with conditionals helper method. And added test case with conditionals helper method for Cell::Caching.

fixed #506

taketo1113 avatar Mar 02 '23 02:03 taketo1113

Thanks my friend! However, now Ruby 2.5 is breaking - I remember fixing that a while ago with the array trick. Your intention of this PR is to allow a cache decider without any arguments, right? def cache_enabled?; ?

apotonick avatar Mar 02 '23 07:03 apotonick

@apotonick

However, now Ruby 2.5 is breaking

Sorry. I fixed it.

Your intention of this PR is to allow a cache decider without any arguments, right? def cache_enabled?; ?

yes!

taketo1113 avatar Mar 02 '23 08:03 taketo1113