calling private methods in ruby
object.method call won’t work if the method is protected or private. Do this instead:
object.send(:method)
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.
meaning of "it"
object.method call won’t work if the method is protected or private. Do this instead:
object.send(:method)
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.