lib/hipbot/room.rb in hipbot-0.0.3 vs lib/hipbot/room.rb in hipbot-0.0.5
- old
+ new
@@ -1,10 +1,7 @@
module Hipbot
class Room < Struct.new(:jid, :name)
- attr_accessor :connection
-
- def to_s
- name
- end
+ attr_accessor :connection, :users
+ alias_method :to_s, :name
end
end