Skip to content

Commit

Permalink
[ruby/pstore] Enhanced RDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
BurdetteLamar authored and matzbot committed Jul 2, 2022
1 parent 6f26a6c commit d741935
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/pstore.rb
Expand Up @@ -51,9 +51,9 @@
# require 'tempfile'
# # Yield a pristine store for use in examples.
# def example_store
# # Create the store in a temporary file.
# path = Tempfile.create
# store = PStore.new(path)
# # Create the store in a temporary file.
# Tempfile.create do |file|
# store = PStore.new(file)
# # Populate the store.
# store.transaction do
# store[:foo] = 0
Expand All @@ -62,6 +62,7 @@
# end
# yield store
# end
# end
#
# == The Store
#
Expand Down

0 comments on commit d741935

Please sign in to comment.