Sha256: 73ae54af6ce46d11c10033361f0b51bdc7bad8391c1ad6a8cf356921fe09f429

Contents?: true

Size: 269 Bytes

Versions: 1

Compression:

Stored size: 269 Bytes

Contents

require 'ircp'
require 'rlyeh/numeric_reply'

module Rlyeh
  module Sendable
    def send_numeric_reply(numeric, target, *args)
      numeric = Rlyeh::NumericReply.to_value numeric
      send_data Ircp::Message.new(target, *args, :command => numeric)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rlyeh-0.0.2 lib/rlyeh/sendable.rb