Provides a delegate class method to easily expose contained object's methods as your own. If the delegate object is nil, there are several options: If no block is provided, it will raise a NoMethodError exception; if the optional code block is specified you may return an alternate value, or to take some arbitrary action.

Required Ruby Version

None

Authors

Alfredo Ramírez

Versions

  1. 0.0.3 April 03, 2013 (5.5 KB)
  2. 0.0.2 April 03, 2013 (5.5 KB)
  3. 0.0.1 April 03, 2013 (5.5 KB)

SHA 256 checksum