Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ImmutableDocument#make_mutable! has been added
- Loading branch information
Yurii Rashkovskii
committed
May 4, 2008
1 parent
9f65b9c
commit e88d174
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -745,5 +745,9 @@ def mutable? | |
def save! | ||
self | ||
end | ||
|
||
def make_mutable! | ||
unextend(ImmutableDocument) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters