aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/xml_fictionbook.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-06-22 01:13:46 -0400
committerRalph Amissah <ralph@amissah.com>2013-06-22 01:13:49 -0400
commitf31e286f4a73c5c0f355512b0cb45c6c82088516 (patch)
treefdf22b179aef9937e7f6a3e71fc6c1e7f0ff9119 /lib/sisu/v5/xml_fictionbook.rb
parentvim, ftplugin sisu.vim, c-\ hard wrap lines to line width (moved from c-j) (diff)
v5: general code cleaningsisu_4.1.5
* propagate back to v4 after testing
Diffstat (limited to 'lib/sisu/v5/xml_fictionbook.rb')
-rw-r--r--lib/sisu/v5/xml_fictionbook.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sisu/v5/xml_fictionbook.rb b/lib/sisu/v5/xml_fictionbook.rb
index 6d0073c1..957e89c9 100644
--- a/lib/sisu/v5/xml_fictionbook.rb
+++ b/lib/sisu/v5/xml_fictionbook.rb
@@ -68,7 +68,6 @@ module SiSU_XML_Fictionbook
require_relative 'shared_xml' # shared_xml.rb
include SiSU_XML_Munge
include SiSU_Param
- pwd=Dir.pwd
class Source
def initialize(opt)
@opt=opt
@@ -183,7 +182,7 @@ WOK
else "<#{type}><p>#{para}</p></#{type}>"
end
util=SiSU_TextUtils::Wrap.new(para,80,10)
- wrap=util.line_wrap
+ util.line_wrap
end
def put(line)
@file_fictionbook.puts line