Roll  Kernel

[Validate]
Generated with WebRI Redfish 1.2.1

Kernel

Public Class Methods

library(name, constraint=nil) click to toggle source

Activate a library.

    # File lib/roll/kernel.rb, line 12
12:   def library(name, constraint=nil)
13:     Roll::Library.open(name, constraint)
14:   end
roll(name, constraint=nil) click to toggle source

Activate a library.

    # File lib/roll/kernel.rb, line 19
19:   def roll(name, constraint=nil)
20:     Roll::Library.open(name, constraint)
21:   end

Public Instance Methods

__LIBRARY__() click to toggle source

In which library is the current file participating?

   # File lib/roll/kernel.rb, line 7
7:   def __LIBRARY__
8:     Roll::Library.load_stack.last
9:   end
acquire(file, opts={}) click to toggle source

Acquire script.

    # File lib/roll/kernel.rb, line 36
36:   def acquire(file, opts={})
37:     Roll::Library.acquire(file, opts)
38:   end
load(file, wrap=false) click to toggle source

Load script.

    # File lib/roll/kernel.rb, line 31
31:   def load(file, wrap=false)
32:     Roll::Library.load(file, wrap)
33:   end
Also aliased as: original_load
original_load(file, wrap=false) click to toggle source
original_require(file) click to toggle source
require(file) click to toggle source

Require script.

    # File lib/roll/kernel.rb, line 26
26:   def require(file)
27:     Roll::Library.require(file)
28:   end
Also aliased as: original_require

Private Instance Methods

library(name, constraint=nil) click to toggle source

Activate a library.

    # File lib/roll/kernel.rb, line 12
12:   def library(name, constraint=nil)
13:     Roll::Library.open(name, constraint)
14:   end
roll(name, constraint=nil) click to toggle source

Activate a library.

    # File lib/roll/kernel.rb, line 19
19:   def roll(name, constraint=nil)
20:     Roll::Library.open(name, constraint)
21:   end

Disabled; run with --debug to generate this.