class Cinch::Test::MockIRC

Mock Class to handle faux IRC networks

Public Class Methods

new(*args) click to toggle source
Calls superclass method
# File lib/cinch/test.rb, line 10
def initialize(*args)
  super
  # the #setup method adds the @network property among
  # other things
  setup
end

Public Instance Methods

connect() click to toggle source

@override never try to actually connect to a network

# File lib/cinch/test.rb, line 19
def connect
  @bot.loggers.info('mock irc: not connecting')
end