Method: Cinch::CachedList#initialize
- Defined in:
- lib/cinch/cached_list.rb
#initialize(bot) ⇒ CachedList
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of CachedList.
9 10 11 12 13 |
# File 'lib/cinch/cached_list.rb', line 9 def initialize(bot) @bot = bot @cache = {} @mutex = Mutex.new end |