Exception: Hector::IrcError

Inherits:
Error
  • Object
show all
Defined in:
lib/hector/errors.rb

Instance Method Summary collapse

Instance Method Details

#responseObject



6
7
8
9
10
# File 'lib/hector/errors.rb', line 6

def response
  Response.new(command, *options).tap do |response|
    response.args.push(message) unless message == self.class.name
  end
end