From: Simen Date: 2006-05-26T21:59:12+09:00 Subject: Re: How to access a classes private method Charlie Bowman wrote: > Sorry, just realized that the subject said private method, I meant to > say protected. > > On Fri, 2006-05-26 at 21:29 +0900, Charlie Bowman wrote: > >> end >> access this method. Thanks in advance for any help. >> >> >> >> >> Charlie Bowman >> http://www.recentrambles.com > > Charlie Bowman > Programmer > Castle Branch Inc. If you need to access it outside of an instance, why make it protected? How are you using this? Anyway, onto the solution: def calling_protected_method result = Foo::Bar.new.method(:bars_method).call end -- Posted via http://www.ruby-forum.com/.