From e483f85554543b061acd625404fc38a586896576 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 6 Sep 2007 18:27:24 +0100 Subject: distinguish param's markup type identifier module from standalone --- lib/sisu/v0/param.rb | 2 +- lib/sisu/v0/param_identify_markup.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/sisu/v0/param.rb b/lib/sisu/v0/param.rb index 690163d4..f4bf6a3f 100644 --- a/lib/sisu/v0/param.rb +++ b/lib/sisu/v0/param.rb @@ -197,7 +197,7 @@ module SiSU_Param @generated=Time.now fns_array=@data.dup skip unless fns_array # consider - @markup_version=SiSU_Markup::Markup_identify.new(fns_array,@opt).markup_version? #% determine markup version + @markup_version=SiSU_Markup_type::Markup_identify.new(fns_array,@opt).markup_version? #% determine markup version if fns_array[0] =~ /^(?:% )?(?:SiSU\s+(?:master\s+)?[\d.]*|sisu-[\d.]+)$/ #check markup and markup version if fns_array[0] =~ /^(?:% )?(?:SiSU\s+(?:master\s+)?|sisu-)[\d.]+$/ #check markup and markup version @markup_version_declared=fns_array[0].match(/^(?:% )?(?:SiSU\s+(?:master\s+)?|sisu-)([\d.]+)$/)[1] diff --git a/lib/sisu/v0/param_identify_markup.rb b/lib/sisu/v0/param_identify_markup.rb index 93c8bf79..fcdf71cb 100644 --- a/lib/sisu/v0/param_identify_markup.rb +++ b/lib/sisu/v0/param_identify_markup.rb @@ -56,7 +56,7 @@ altering SiSU markup =end -module SiSU_Markup +module SiSU_Markup_type class Markup_identify @@fns,@@version_determined,@@version_declared,@@declared_doc_type='','','','[text?]' attr_accessor :version_determined,:version_declared,:declared_doc_type -- cgit v1.2.3