--0PvaeNb6k/+T5GhMI55
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

I'm trying to call a classes protected method but I can't seem to get it
to work.  Here's an example of the method I'm trying to call

moule Foo
  Class Bar
   protected
        def bars_method(a 
            a
        end
    end
end

Here's what the relevant parts of my script look like

def calling_protected_method
    result  oo::Bar.bars_method
end


This is resulting in a method not found error.  I know I can't access a
protected method this way, but I don't know how to open up the class and
access this method.  Thanks in advance for any help.
            



Charlie Bowman
http://www.recentrambles.com

--0PvaeNb6k/+T5GhMI55--