Sha256: 6c8febdea1caf5ee63363afe8438e700bff3e5d9f85e03d6d13305896584456b

Contents?: true

Size: 215 Bytes

Versions: 1

Compression:

Stored size: 215 Bytes

Contents

#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
$:.unshift 'lib', '../lib'
require 'rlyeh'

class Echo < Rlyeh::Base
  def call(env)
    conn = env.connection
    conn.send_data env.message
  end
end

Rlyeh.emerge Echo

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rlyeh-0.1.1 examples/echo.rb