module Xm
Constants
- VERSION
Public Instance Methods
xm(msg)
click to toggle source
# File lib/xm.rb, line 24 def xm msg to = @@y[:me] xm_to to, msg end
Also aliased as: pp
xm_to(to, msg)
click to toggle source
# File lib/xm.rb, line 30 def xm_to to, msg msg = @@y[:header].gsub(/(`.*`)/) { eval($1).strip } + msg if @@y[:header] @@cl.send Message::new( to, msg ).set_type(:chat).set_id('1') end
Also aliased as: pp_to
xm_us(msg)
click to toggle source
# File lib/xm.rb, line 16 def xm_us msg @@y[:us].each do |to| xm_to to, msg end end
Also aliased as: pp_us