Class: RedisTest::Author
- Inherits:
-
Object
- Object
- RedisTest::Author
- Defined in:
- lib/xamplr/tests/redis/author.rb
Instance Method Summary collapse
Instance Method Details
#init_hook ⇒ Object
5 6 7 8 |
# File 'lib/xamplr/tests/redis/author.rb', line 5 def init_hook # called when initialized by xampl @invalidated = false end |
#invalidated? ⇒ Boolean
15 16 17 |
# File 'lib/xamplr/tests/redis/author.rb', line 15 def invalidated? @invalidated end |
#note_invalidate ⇒ Object
10 11 12 13 |
# File 'lib/xamplr/tests/redis/author.rb', line 10 def note_invalidate # called by xampl to note that this object is invalid @invalidated = true end |