aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/epub.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-10-03 00:16:59 -0400
committerRalph Amissah <ralph@amissah.com>2012-10-03 00:16:59 -0400
commitf6bc7d81dee102b438a9118a66a2f2a86382c729 (patch)
tree36fe1d991dbbcb34426bd17afa212086be937994 /lib/sisu/v4/epub.rb
parentv4: bin/sisu $0, make possible to run sisu command on/within project dir tree (diff)
v4: bin/sisu $*, hub, make possible to specify dir path for markup files
* bin/sisu4 & bin/sisu3 now syslinks to bin/sisu
Diffstat (limited to 'lib/sisu/v4/epub.rb')
-rw-r--r--lib/sisu/v4/epub.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v4/epub.rb b/lib/sisu/v4/epub.rb
index a4dce6ab..151d30f3 100644
--- a/lib/sisu/v4/epub.rb
+++ b/lib/sisu/v4/epub.rb
@@ -132,7 +132,7 @@ module SiSU_EPUB
def initialize(particulars)
@particulars=particulars
@md,@env=particulars.md,particulars.env
- @vz=SiSU_Env::GetInit.instance.skin
+ @vz=SiSU_Env::GetInit.new.skin
@env,@css=particulars.env,SiSU_Style::CSS.new
end
def directories
@@ -187,7 +187,7 @@ module SiSU_EPUB
@@firstseg=nil
def initialize(md=nil,data='')
@md,@data=md,data
- @vz=SiSU_Env::GetInit.instance.skin
+ @vz=SiSU_Env::GetInit.new.skin
@epub=SiSU_EPUB_Format::HeadInformation.new(@md)
@tell=SiSU_Screen::Ansi.new(@md.opt.cmd) if @md
@make=SiSU_Env::ProcessingSettings.new(@md)
@@ -478,7 +478,7 @@ module SiSU_EPUB
class ScrollHeadAndSegToc < Toc
def initialize(md='',toc='',links_guide_toc='')
@md,@toc,@links_guide_toc=md,toc,links_guide_toc
- @vz=SiSU_Env::GetInit.instance.skin
+ @vz=SiSU_Env::GetInit.new.skin
end
def in_common
toc_shared=[]