Module: Kernel

Defined in:
lib/ubiquity/protocol.rb

Instance Method Summary collapse

Instance Method Details

#log(msg) ⇒ Object



13
14
15
16
# File 'lib/ubiquity/protocol.rb', line 13

def log msg
    puts "log"
    $client.puts "PUTS:#{msg}"
end

#notify(msg) ⇒ Object



8
9
10
11
# File 'lib/ubiquity/protocol.rb', line 8

def notify msg
    puts "notify #{msg}"
    $client.puts "NOTIFY:#{msg}"
end