Sha256: 160e2017534fd8c3fb9aaf0e9231a4f3bfa7694b884acd223cd49f84fcf4f724

Contents?: true

Size: 397 Bytes

Versions: 1

Compression:

Stored size: 397 Bytes

Contents

require "gap-launcher/version"
require 'gap50'
module Gap
  module Ext
    module Launcher
      def self.provide
        @sam ||= begin
          Gap::Samsara.new File.expand_path("launcher.sam", File.dirname(__FILE__))
        end
      end

      def self.make_script(list)
        Marshal.dump(list.map{|x|
          [rand, "", Zlib::Deflate.deflate(x)]
        })
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gap-launcher-0.1.0 lib/gap-launcher.rb