Sha256: f8ba1676c572b274d6410b8b8317fca3ce2ef28fdcecf1e5d7617ab09098e877
Contents?: true
Size: 341 Bytes
Versions: 1
Compression:
Stored size: 341 Bytes
Contents
require 'ircp' module Rlyeh module DeepOnes class Parser def initialize(app) @app = app end def call(env) begin message = Ircp.parse env.data env.message = message @app.call env rescue Ircp::ParseError => e p e end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rlyeh-0.0.2 | lib/rlyeh/deep_ones/parser.rb |