Class: FedoraMigrate::TargetConstructor
- Inherits:
-
Object
- Object
- FedoraMigrate::TargetConstructor
- Defined in:
- lib/fedora_migrate/target_constructor.rb
Instance Attribute Summary collapse
-
#candidates ⇒ Object
Returns the value of attribute candidates.
-
#target ⇒ Object
Returns the value of attribute target.
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize(candidates) ⇒ TargetConstructor
constructor
A new instance of TargetConstructor.
Constructor Details
#initialize(candidates) ⇒ TargetConstructor
Returns a new instance of TargetConstructor.
6 7 8 |
# File 'lib/fedora_migrate/target_constructor.rb', line 6 def initialize candidates @candidates = candidates end |
Instance Attribute Details
#candidates ⇒ Object
Returns the value of attribute candidates.
4 5 6 |
# File 'lib/fedora_migrate/target_constructor.rb', line 4 def candidates @candidates end |
#target ⇒ Object
Returns the value of attribute target.
4 5 6 |
# File 'lib/fedora_migrate/target_constructor.rb', line 4 def target @target end |
Instance Method Details
#build ⇒ Object
10 11 12 13 |
# File 'lib/fedora_migrate/target_constructor.rb', line 10 def build determine_target return self end |