Skip to content

Commit a322abe

Browse files
author
Thomas Johnson
authored
Merge pull request #345 from ruby-rdf/feature/tx-docs
Fixup Transaction documentation
2 parents b0e1391 + 53616b5 commit a322abe

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

lib/rdf/transaction.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,21 @@ module RDF
3939
# end
4040
#
4141
# The base class provides an atomic write implementation depending on
42-
# `RDF::Changeset` and using `Changeset#apply`. Custom `Repositories`
42+
# {RDF::Changeset} and using {Changeset#apply}. Custom {Repository} classes
4343
# can implement a minimial write-atomic transactions by overriding
44-
# `#apply_changeset`.
44+
# {#apply_changeset}.
4545
#
4646
# Reads within a transaction run against the live repository by default
47-
# (`#isolation_level' is `:read_committed`). Repositories may provide support
48-
# for snapshots by implementing `Repository#snapshot` and responding `true` to
47+
# ({#isolation_level} is `:read_committed`). Repositories may provide support
48+
# for snapshots by implementing {Repository#snapshot} and responding `true` to
4949
# `#supports?(:snapshots)`. In this case, the transaction will use the
50-
# `RDF::Dataset` returned by `#snapshot` for reads (`:repeatable_read`).
50+
# {RDF::Dataset} returned by {#snapshot} for reads (`:repeatable_read`).
5151
#
5252
# For datastores that support transactions natively, implementation of a
53-
# custom `Transaction` subclass is recommended. The `Repository` is
53+
# custom {Transaction} subclass is recommended. The {Repository} is
5454
# responsible for specifying snapshot support and isolation level as
5555
# appropriate. Note that repositories may provide the snapshot isolation level
56-
# without implementing `#snapshot`.
56+
# without implementing {#snapshot}.
5757
#
5858
# @example A repository with a custom transaction class
5959
# class MyRepository < RDF::Repository

0 commit comments

Comments
 (0)