Skip to content
This repository has been archived by the owner on Feb 28, 2021. It is now read-only.

Commit

Permalink
Added @SInCE tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Feb 18, 2012
1 parent 19b5cb6 commit 2451843
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/dm-is-read_only/is/read_only.rb
Expand Up @@ -74,6 +74,8 @@ module InstanceMethods
# @return [DataMapper::Is::ReadOnly::State]
# The read-only state.
#
# @since 0.3.0
#
def persistence_state
@_persistence_state ||= DataMapper::Is::ReadOnly::State.new(self)
end
Expand All @@ -87,6 +89,8 @@ def persistence_state
# @return [DataMapper::Is::ReadOnly::State]
# Always returns the read-only state.
#
# @since 0.3.0
#
def persistence_state=(new_state)
persistence_state
end
Expand Down
3 changes: 3 additions & 0 deletions lib/dm-is-read_only/is/read_only/exceptions/error.rb
@@ -1,6 +1,9 @@
module DataMapper
module Is
module ReadOnly
#
# @since 0.3.0
#
class Error < RuntimeError
end
end
Expand Down

0 comments on commit 2451843

Please sign in to comment.