Parent

Methods

Included Modules

Class/Module Index [+]

Quicksearch

Cinch::CachedList

@api private @since 2.0.0 @version 1.1.0 @note In prior versions, this class was called CacheManager

Public Class Methods

new(bot) click to toggle source
# File lib/cinch/cached_list.rb, line 9
def initialize(bot)
  @bot = bot
  @cache = {}
  @mutex = Mutex.new
end

Public Instance Methods

each(&block) click to toggle source
# File lib/cinch/cached_list.rb, line 15
def each(&block)
  @cache.each_value(&block)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.