Actions
Feature #6287
closednested method should only be visible by nesting/enclosing method
Description
def test1
def test2
p "i am test2"
end
test2
end
test1
"i am test2" # ok
test2
"i am test2" # not ok (imho), this should fail; ie test2 should only be visible by test1, not by outside.
Actions
Like0
Like0Like0Like0Like0