Module: Kernel

Defined in:
lib/bezel.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.require(fname) ⇒ Object

Override require to try bezel first.



189
190
191
# File 'lib/bezel.rb', line 189

def require(fname)
  Bezel.require(fname)
end

.require_without_bezelObject

Alias original require.



186
# File 'lib/bezel.rb', line 186

alias require_without_bezel require

Instance Method Details

#lib(name, version = nil) ⇒ Object

Retuns a new Bezel Module.



203
204
205
# File 'lib/bezel.rb', line 203

def lib(name, version=nil)
  Bezel.lib(name, version)
end

#require(fname) ⇒ Object

Override require to try bezel first.



198
199
200
# File 'lib/bezel.rb', line 198

def require(fname)
  Bezel.require(fname)
end

#require_without_bezelObject

Alias original require.



195
# File 'lib/bezel.rb', line 195

alias require_without_bezel require