Method: Weechat::IRC::User#initialize

Defined in:
lib/weechat/user.rb

#initialize(args = {}) ⇒ User



9
10
11
12
13
# File 'lib/weechat/user.rb', line 9

def initialize(args = {})
  @name = args[:name]
  @host = IRC::Host.new(args[:host])
  @flags, @color, @channel = args.values_at(:flags, :color, :channel)
end