Sha256: f3c1890efe28c974627a35b96422e3a5868db171282025204a19dc3675ba2f8d

Contents?: true

Size: 380 Bytes

Versions: 1

Compression:

Stored size: 380 Bytes

Contents

require 'lib/blather/client'
include Blather

class ShellClient < Client
  def receive_roster(roster)
    super
    if roster.type == :result
      start_highline
    end
  end

  def receive_message(msg)
    
  end

  def start_highline
  end

end

EM.run {
  shell = Shell.new

  #shell
  EM.spawn { shell.start }

  Blather.run 'orthie@jabber.local/Blather', 'orthie', shell
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blather-0.1 examples/shell_client.rb