diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-01-10 22:50:12 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-01-10 22:53:33 -0500 |
commit | df67ee1079d074dc2af54aa87187c6538e73d5d7 (patch) | |
tree | 8951ce72708a2db81fe16e55faafc41b9b879b2c /lib/sisu/v3dv/po4a_set.rb | |
parent | v3dv: class names, remove "SiSU_" (reserve for module names for consistency) (diff) |
v3dv: class names, use more CamelCase
Diffstat (limited to 'lib/sisu/v3dv/po4a_set.rb')
-rw-r--r-- | lib/sisu/v3dv/po4a_set.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sisu/v3dv/po4a_set.rb b/lib/sisu/v3dv/po4a_set.rb index 35dd9d1b..e536a464 100644 --- a/lib/sisu/v3dv/po4a_set.rb +++ b/lib/sisu/v3dv/po4a_set.rb @@ -120,7 +120,7 @@ module SiSU_Po4aUtils trans=(pot.length == 2) ? pot[1] : '' po_str=<<WOK #. #{@po4a_identify_type} - #{@is_desc} -#: en/#{@md.fns}:#{Pot_number.new.num} +#: en/#{@md.fns}:#{PotNumber.new.num} msgid "" #{pot[0]} msgstr "" @@ -145,7 +145,7 @@ WOK trans=(pot.length == 2) ? pot[1] : '' po_str=<<WOK #. #{@po4a_identify_type} - #{@is_desc} -#: en/#{@md.fns}:#{Pot_number.new.num} +#: en/#{@md.fns}:#{PotNumber.new.num} #, no-wrap msgid "" #{pot[0]} @@ -172,7 +172,7 @@ WOK @arr end end - class Header_scan + class HeaderScan def initialize(md,para) @md,@p=md,para end @@ -276,7 +276,7 @@ WOK end end end - class Paragraph_number + class ParagraphNumber def initialize(paranum) @paranum=/(\d+)/m.match(paranum)[1] end @@ -284,7 +284,7 @@ WOK @paranum.gsub(/(\d+)/,'#\1') end end - class Pot_number + class PotNumber @@n=0 def initialize @@n +=2 |