Sha256: 230e4e93fda7400fa0478f38d381ce644d27d068b8ab80d38871ac510f64bdd8
Contents?: true
Size: 172 Bytes
Versions: 2
Compression:
Stored size: 172 Bytes
Contents
class Multiplexer < BasicObject def initialize(*objs) @objs = objs end def method_missing(*args, &blk) @objs.map { |o| o.send(*args, &blk) }.first end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cloud_runner-0.0.2 | spec/support/multiplexer.rb |
cloud_runner-0.0.1 | spec/support/multiplexer.rb |