Class: Fedora2To3PidRenamer::Manipulator::Text

Inherits:
Base
  • Object
show all
Defined in:
lib/fedora_2_to_3_pid_renamer/manipulator/text.rb

Instance Attribute Summary

Attributes inherited from Base

#config, #source

Instance Method Summary collapse

Methods inherited from Base

#initialize, output_for

Constructor Details

This class inherits a constructor from Fedora2To3PidRenamer::Manipulator::Base

Instance Method Details

#outputObject



13
14
15
# File 'lib/fedora_2_to_3_pid_renamer/manipulator/text.rb', line 13

def output
  text
end

#runObject



7
8
9
10
11
# File 'lib/fedora_2_to_3_pid_renamer/manipulator/text.rb', line 7

def run
  config.changes.each do |before, after|
    change(text, before, after)
  end
end