Sha256: 42a2804f273688365acadb14eee1a6a81e8f275b73d3e65ece320ca9e0d28d41

Contents?: true

Size: 223 Bytes

Versions: 1

Compression:

Stored size: 223 Bytes

Contents

#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
$LOAD_PATH.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.0.2 examples/echo.rb