Class: ActiveFedora::Aggregation::LinkInserter
- Inherits:
-
Object
- Object
- ActiveFedora::Aggregation::LinkInserter
- Defined in:
- lib/active_fedora/aggregation/link_inserter.rb
Defined Under Namespace
Classes: Appender
Instance Attribute Summary collapse
-
#proxy ⇒ Object
readonly
Returns the value of attribute proxy.
-
#root ⇒ Object
readonly
Returns the value of attribute root.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(root, proxy) ⇒ LinkInserter
constructor
A new instance of LinkInserter.
Constructor Details
#initialize(root, proxy) ⇒ LinkInserter
Returns a new instance of LinkInserter.
6 7 8 9 |
# File 'lib/active_fedora/aggregation/link_inserter.rb', line 6 def initialize(root, proxy) @root = root @proxy = proxy end |
Instance Attribute Details
#proxy ⇒ Object (readonly)
Returns the value of attribute proxy.
3 4 5 |
# File 'lib/active_fedora/aggregation/link_inserter.rb', line 3 def proxy @proxy end |
#root ⇒ Object (readonly)
Returns the value of attribute root.
3 4 5 |
# File 'lib/active_fedora/aggregation/link_inserter.rb', line 3 def root @root end |