Parent

Included Modules

Class/Module Index [+]

Quicksearch

Cinch::Callback

Class used for encapsulating handlers to prevent them from overwriting instance variables in {Bot}

@api private

Attributes

bot[R]

@return [Bot]

Public Class Methods

new(bot) click to toggle source
# File lib/cinch/callback.rb, line 11
def initialize(bot)
  @bot = bot
end

Public Instance Methods

synchronize(*args, &block) click to toggle source

(see Bot#synchronize)

# File lib/cinch/callback.rb, line 16
def synchronize(*args, &block)
  @bot.synchronize(*args, &block)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.