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.0.1
-
source
- 1.0.1 source October 25, 2007This gem version was imported to RubyGems.org on July 25, 2009. The date displayed was specified by the author in the gemspec. (8.5 KB)
-
-
1.0.0
-
source
- 1.0.0 source October 22, 2007This gem version was imported to RubyGems.org on July 25, 2009. The date displayed was specified by the author in the gemspec. (8 KB)
-