FEATURES/PROBLEMS: * Wrappers do not dispatch const_missing yet, so constants are not accessible yet. == SYNOPSIS: class Something acts_as_wrapped_class :methods => [:safe_method] # SomethingWrapper is now defined def safe_method # allowed to access this method through SomethingWrapper Something.new end def unsafe_method # not allowed to access this method through SomethingWrapper end end

Required Ruby Version

> 0.0.0

Authors

David Stevenson

Versions

  1. 1.0.1 October 25, 2007* (8.5 KB)
  2. 1.0.0 October 22, 2007* (8 KB)

SHA 256 checksum