diff options
Diffstat (limited to 'test/drb/ut_drb.rb')
-rw-r--r-- | test/drb/ut_drb.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/drb/ut_drb.rb b/test/drb/ut_drb.rb index 93ac1d83fe..f5720cfca2 100644 --- a/test/drb/ut_drb.rb +++ b/test/drb/ut_drb.rb @@ -126,10 +126,23 @@ class DRbEx [self] end + def method_missing(msg, *a, &b) + if msg == :missing + return true + else + super(msg, *a, &b) + end + end + private def call_private_method true end + + protected + def call_protected_method + true + end end if __FILE__ == $0 |