Skip to content

Commit

Permalink
Docs for immutable_options
Browse files Browse the repository at this point in the history
  • Loading branch information
autarch committed Sep 10, 2009
1 parent d43364e commit b4a8b0f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/Class/MOP/Class.pm
Expand Up @@ -1579,6 +1579,13 @@ replaced when inlining a destructor. This defaults to false.
=back
=item B<< $metaclass->immutable_options >>
Returns a hash of the options used when making the class immutable, including
both defaults and anything supplied by the user in the call to C<<
$metaclass->make_immutable >>. This is useful if you need to temporarily make
a class mutable and then restore immutability as it was before.
=item B<< $metaclass->make_mutable >>
Calling this method reverse the immutabilization transformation.
Expand Down

0 comments on commit b4a8b0f

Please sign in to comment.