Skip to content
trans edited this page Sep 23, 2010 · 1 revision

The Ruby wedge is considered standard fare. When you require 'wedge' it will load the wedge kernel and also the Ruby wedge.

The Ruby wedge makes it possible to load a Ruby standard library without interference from installed gems or other package systems.

require 'wedge'

require 'ruby:ostruct'

This will load the ostruct.rb script from the Ruby standard library regardless of whether some newbie dropped an ostruct.rb file in their projects lib/ directory without understand the consequences.

Clone this wiki locally