Sha256: 7b89c89147a1bd12959494ec770c714e4a4636f661c39c669443387ba9b5b386
Contents?: true
Size: 711 Bytes
Versions: 1
Compression:
Stored size: 711 Bytes
Contents
require 'roll/original' require 'roll/ledger' module ::Kernel # In which library is the current file participating? def __LIBRARY__ Roll::Library.load_stack.last end # Activate a library. def library(name, constraint=nil) Roll::Library.open(name, constraint) end module_function :library # Activate a library. def roll(name, constraint=nil) Roll::Library.open(name, constraint) end module_function :roll # Require script. def require(file) Roll::Library.require(file) end # Load script. def load(file, wrap=false) Roll::Library.load(file, wrap) end # Acquire script. def acquire(file, opts={}) Roll::Library.acquire(file, opts) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
roll-1.1.0 | lib/roll/kernel.rb |