module Xm

Constants

VERSION

Public Instance Methods

pp(msg)
Alias for: xm
pp_to(to, msg)
Alias for: xm_to
pp_us(msg)
Alias for: xm_us
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