summaryrefslogtreecommitdiff
path: root/lib/pstore.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-03-06 04:15:42 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-03-06 04:15:42 +0000
commitd7b8e448bfd29042f64ed3535dc21014b9259088 (patch)
tree095315717e3050b4acb09d91e848dc2e3d0b2b5f /lib/pstore.rb
parentb014cc337ef28498311f58a7b28bdfffebc53f00 (diff)
2000-03-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/pstore.rb')
-rw-r--r--lib/pstore.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/pstore.rb b/lib/pstore.rb
index 9ea9ab3660..05fa5dccc7 100644
--- a/lib/pstore.rb
+++ b/lib/pstore.rb
@@ -52,6 +52,10 @@ class PStore
in_transaction
@table[name] = value
end
+ def delete(name)
+ in_transaction
+ @table.delete name
+ end
def roots
in_transaction