salahsheikh / libcache

A caching library that provides an in-memory and file based cache for Ruby

Home Page:https://rubygems.org/gems/libcache

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inconsistent method naming convention

adelowo opened this issue · comments

All methods in the library make use of snake_case except the invalidateAll method (camelcase).

Relevant links -

https://github.com/silk8192/libcache/blob/master/lib/libcache/cache.rb#L83-L85
https://github.com/silk8192/libcache/blob/master/lib/libcache/file_cache.rb#L61-L66

aha its the java conventions creeping in. I'll rename it ASAP.

Nice to hear that

fixed by #2