Class: RGen::Fragment::ModelFragment::FragmentRef
- Inherits:
-
Object
- Object
- RGen::Fragment::ModelFragment::FragmentRef
- Defined in:
- lib/rgen/fragment/model_fragment.rb
Overview
A FragmentRef serves as a single target object for elements which need to reference the fragment they are contained in. The FragmentRef references the fragment it is contained in. The FragmentRef is separate from the fragment itself to allow storing it in a marshal dump independently of the fragment.
Instance Attribute Summary collapse
-
#fragment ⇒ Object
Returns the value of attribute fragment.
Instance Attribute Details
#fragment ⇒ Object
Returns the value of attribute fragment.
32 33 34 |
# File 'lib/rgen/fragment/model_fragment.rb', line 32 def fragment @fragment end |