set_visibility_for(methods, visibility, singleton = false)
public
Given an array methods of method names, set the visibility of each
to visibility
Show source
def set_visibility_for(methods, visibility, singleton = false)
methods_matching methods, singleton do |m|
m.visibility = visibility
end
end