diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-01-10 22:44:24 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-01-10 22:45:30 -0500 |
commit | 51ba2d70af41137ddc3323d79e01b28fbcb40082 (patch) | |
tree | c9f9f7ecd73e5b0540ca0464e7825ea43c489f61 /lib/sisu/v3dv/xml_fictionbook.rb | |
parent | v3dv, add dev branch (use to make some changes to module & class names & test) (diff) |
v3dv: module names, use more CamelCase
Diffstat (limited to 'lib/sisu/v3dv/xml_fictionbook.rb')
-rw-r--r-- | lib/sisu/v3dv/xml_fictionbook.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sisu/v3dv/xml_fictionbook.rb b/lib/sisu/v3dv/xml_fictionbook.rb index 1425dc74..8fb79d1d 100644 --- a/lib/sisu/v3dv/xml_fictionbook.rb +++ b/lib/sisu/v3dv/xml_fictionbook.rb @@ -61,9 +61,9 @@ module SiSU_XML_Fictionbook require_relative 'sysenv' # sysenv.rb include SiSU_Env require_relative 'shared_txt' # shared_txt.rb - include SiSU_text_utils + include SiSU_TextUtils require_relative 'shared_xml' # shared_xml.rb - include SiSU_XML_munge + include SiSU_XML_Munge include SiSU_Param pwd=Dir.pwd class Source @@ -84,7 +84,7 @@ module SiSU_XML_Fictionbook class Scroll <Source def initialize(data='',md='') @data,@md=data,md - @trans=SiSU_XML_munge::Trans.new(@md) + @trans=SiSU_XML_Munge::Trans.new(@md) @file_fictionbook=SiSU_Env::SiSU_file.new(@md,'fictionbook.xml').mkfile end def songsheet @@ -158,7 +158,7 @@ WOK endnote.strip! endnote=@trans.markup_fictionbook(endnote) endnote="<p>#{endnote}</p>" - util=SiSU_text_utils::Wrap.new(endnote,80,10) + util=SiSU_TextUtils::Wrap.new(endnote,80,10) endnote=util.line_wrap put(endnote) end @@ -176,7 +176,7 @@ WOK para=if type.empty?; "<p>#{para}</p>" else "<#{type}><p>#{para}</p></#{type}>" end - util=SiSU_text_utils::Wrap.new(para,80,10) + util=SiSU_TextUtils::Wrap.new(para,80,10) wrap=util.line_wrap end def put(line) |