class ICQ::Message
Attributes
keyboard[R]
text[R]
Public Class Methods
new(obj, *keyboard)
click to toggle source
# File lib/icqbot/message.rb, line 8 def initialize obj, *keyboard @text = obj @keyboard = keyboard end
Public Instance Methods
<<(btn)
click to toggle source
# File lib/icqbot/message.rb, line 13 def << btn return @keyboard << btn if btn.is_a? ICQ::Button raise ArgumentError.new 'btn must be a Button' end
Also aliased as: append