Ruby Basics by bparanj — 2 July 2015 Do you know how the private keyword affects a class method? Read about it here:Hiding a Class Method Comments You can also use private_class_method. Matt Brictson — 3 July 2015 Good tip. I have updated the article with your suggestion. bparanj — 3 July 2015 Post a comment You can use basic HTML markup (e.g. <a>) or Markdown. Authenticate with GitHub As you are not logged in, you will bedirected via GitHub to signup or sign in
Comments
You can also use private_class_method.
Good tip. I have updated the article with your suggestion.
Post a comment