Пример #1
0
            public static object Wrap(BinaryOpStorage /*!*/ newStorage, UnaryOpStorage /*!*/ closeStorage,
                                      BlockParam block, RubyClass /*!*/ self, object io)
            {
                var      newSite  = newStorage.GetCallSite("new");
                GZipFile gzipFile = (GZipFile)newSite.Target(newSite, self, io);

                return(gzipFile.Do(block));
            }