Skip to content

Commit

Permalink
Methods: Mention that visibility can be changed for frozen class. Closes
Browse files Browse the repository at this point in the history
 #72.
  • Loading branch information
runpaint committed Dec 17, 2010
1 parent 822ba76 commit 1a98904
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/methods.xml
Expand Up @@ -819,6 +819,9 @@
</title>
<programlisting><xi:include href="examples/visibility-specifiers-args.rb" parse="text"/></programlisting>
</example>

<para>Method visibility is a property of the binding between a method and a class. An implication is that even when a class is frozen, the visibility of the methods it defines may still be changed using <function>Object#send</function>.</para>

<!--figure>
<title>Syntax diagram of visibility specifiers
</title>
Expand Down

0 comments on commit 1a98904

Please sign in to comment.