Sha256: 5433486a82757fa39c58530b236cfa52b0fdd140a206a7fe07d107fb8d8ddea1
Contents?: true
Size: 304 Bytes
Versions: 1
Compression:
Stored size: 304 Bytes
Contents
module Cargo VERSION = "0.0.3" def import(file) unless file.match(/\.rb$/) file = "#{file}.rb" end load(file, true) Thread.current[:cargo].tap do Thread.current[:cargo] = nil end end def export(cargo) Thread.current[:cargo] = cargo end end extend Cargo
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cargo-0.0.3 | lib/cargo.rb |