aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/xml_md_oai_pmh_dc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v3/xml_md_oai_pmh_dc.rb')
-rw-r--r--lib/sisu/v3/xml_md_oai_pmh_dc.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sisu/v3/xml_md_oai_pmh_dc.rb b/lib/sisu/v3/xml_md_oai_pmh_dc.rb
index 4837b8e1..eb2bb09c 100644
--- a/lib/sisu/v3/xml_md_oai_pmh_dc.rb
+++ b/lib/sisu/v3/xml_md_oai_pmh_dc.rb
@@ -56,7 +56,7 @@
** Description: summary of generated outputs and metadata
=end
-module SiSU_XML_metadata
+module SiSU_XML_Metadata
require_relative 'sysenv' # sysenv.rb
include SiSU_Env
require_relative 'param' # param.rb
@@ -184,7 +184,7 @@ WOK
end
def meta_content_clean(content='')
unless content.nil?
- content.tr!('"',"'")
+ content=content.tr('"',"'")
end
content
end
@@ -192,8 +192,8 @@ WOK
'</oai_dc:dc>'
end
def output
- SiSU_Env::SiSU_file.new(@md).mkdir
- oai_pmh=SiSU_Env::SiSU_file.new(@md,@md.fn[:oai_pmh]).mkfile #implement in param
+ SiSU_Env::FileOp.new(@md).mkdir
+ oai_pmh=SiSU_Env::FileOp.new(@md,@md.fn[:oai_pmh]).mkfile #implement in param
oai_pmh << pre
body.each do |x|
oai_pmh << x