RubyGems.org

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

installgem install acts_as_wrapped_class
Authors

David Stevenson

1,935 total downloads 1,102 for this version
Owners

6b4199447a9a2d6942100783fa9da355

Gemfile
gem "acts_as_wrapped_class", "~> 1.0.1"
Versions
  1. 1.0.1 October 25, 2007
  2. 1.0.0 October 22, 2007
Runtime Dependencies
  1. hoe >= 1.3.0