Sha256: 77be0866fb534a5e59343041c9d2c96b1cfe9711715fa65fd0adc6cae65df158
Contents?: true
Size: 343 Bytes
Versions: 3
Compression:
Stored size: 343 Bytes
Contents
require "linda" module Sinatra module RocketIO module Linda # use linda gem (https://rubygems.org/gems/linda) class Tuple < ::Linda::Tuple attr_reader :from def initialize(data, opts={}) @from = opts[:from] if opts.kind_of? Hash super data, opts end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems