Class: Fedora2To3PidRenamer::Manipulator::Xml
- Inherits:
-
Base
- Object
- Base
- Fedora2To3PidRenamer::Manipulator::Xml
show all
- Defined in:
- lib/fedora_2_to_3_pid_renamer/manipulator/xml.rb
Instance Attribute Summary
Attributes inherited from Base
#config, #source
Instance Method Summary
collapse
Methods inherited from Base
#initialize, output_for
Instance Method Details
#output ⇒ Object
17
18
19
|
# File 'lib/fedora_2_to_3_pid_renamer/manipulator/xml.rb', line 17
def output
xml.to_s
end
|
#run ⇒ Object
9
10
11
|
# File 'lib/fedora_2_to_3_pid_renamer/manipulator/xml.rb', line 9
def run
modify_text_at_each_location_in_config
end
|
#xml ⇒ Object
13
14
15
|
# File 'lib/fedora_2_to_3_pid_renamer/manipulator/xml.rb', line 13
def xml
@xml ||= Nokogiri::XML(raw_xml)
end
|