diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-09-06 18:27:24 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-09-06 18:27:24 +0100 |
commit | e483f85554543b061acd625404fc38a586896576 (patch) | |
tree | c5f299e94748fc9173e0c98cc0eb3b91d8c380cd | |
parent | sisu-0.58.2 + md5s (diff) |
distinguish param's markup type identifier module from standalone
-rw-r--r-- | lib/sisu/v0/param.rb | 2 | ||||
-rw-r--r-- | lib/sisu/v0/param_identify_markup.rb | 2 |
2 files changed, 2 insertions, 2 deletions
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 |