Sha256: 5c1a9dc70a7716861a9bbc28359811bcdeea406231e9b2d4b526ee6bf035af85
Contents?: true
Size: 313 Bytes
Versions: 7
Compression:
Stored size: 313 Bytes
Contents
class Uppercut class Message attr_accessor :to, :message def initialize(base) #:nodoc: @base = base end # Send a blob of text. def send(body=nil) msg = Jabber::Message.new(@to) msg.type = :chat msg.body = body || @message @base.stanza(msg) end end end
Version data entries
7 entries across 7 versions & 4 rubygems