Module: CaTissue::Annotation::RecordEntryProxy
- Includes:
- Proxy
- Defined in:
- lib/catissue/annotation/record_entry_proxy.rb
Overview
caTissue 1.2 Resource annotation hook proxy mix-in.
Instance Method Summary collapse
-
#hook ⇒ Annotatable
The annotated domain object.
- #hook=(obj) ⇒ Object
Methods included from Proxy
Instance Method Details
#hook ⇒ Annotatable
Returns the annotated domain object.
10 11 12 |
# File 'lib/catissue/annotation/record_entry_proxy.rb', line 10 def hook send(self.class.owner_property.reader) end |
#hook=(obj) ⇒ Object
15 16 17 |
# File 'lib/catissue/annotation/record_entry_proxy.rb', line 15 def hook=(obj) send(self.class.owner_property.writer, obj) end |