Sha256: 4debb4227fdb0a247495f98179123d8082daed9bbea771fd55e914cac8343c3e
Contents?: true
Size: 272 Bytes
Versions: 56
Compression:
Stored size: 272 Bytes
Contents
WORLD_MOCK = -> do w = YPetri::World.new [ w.Place, w.Transition, w.Net ].tap do |p, t, _| def p.nw( n, *args, &block ) new( *args ).tap { |i| i.name = n } end def t.nw( n, *args, &block ) new( *args ).tap { |i| i.name = n } end end end
Version data entries
56 entries across 56 versions & 1 rubygems