aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/plaintext.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-10-03 00:19:18 -0400
committerRalph Amissah <ralph@amissah.com>2012-10-03 00:19:18 -0400
commit2099cce12c2ffb53023c3c644b329b235e442ae0 (patch)
treeec14544068e21b59c7bfd34e389344e3eaede296 /lib/sisu/v4/plaintext.rb
parentv4: defaults, some cleaning (diff)
v4: skins, remove
* remove skins * defaults, rename class Defaults (was InfoSkin) * sisupod, remove skin * db * no skin info to store, omitted from structure * change prefix name (structure changed)
Diffstat (limited to 'lib/sisu/v4/plaintext.rb')
-rw-r--r--lib/sisu/v4/plaintext.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/sisu/v4/plaintext.rb b/lib/sisu/v4/plaintext.rb
index 9e5719b7..5ad35447 100644
--- a/lib/sisu/v4/plaintext.rb
+++ b/lib/sisu/v4/plaintext.rb
@@ -101,7 +101,6 @@ module SiSU_Plaintext
end
#wrap_width=(defined? md.make.plaintext_wrap) ? md.make.plaintext_wrap : 78
SiSU_Plaintext::Source::Scroll.new(dal_array,md,wrap_width).songsheet
- SiSU_Env::InfoSkin.new(md).select #watch
rescue
SiSU_Errors::InfoError.new($!,$@,@opt.cmd,@opt.fns).error do
__LINE__.to_s + ':' + __FILE__
@@ -118,7 +117,7 @@ module SiSU_Plaintext
def initialize(data,md,wrap_width)
@data,@md,@wrap_width=data,md,wrap_width
@env=SiSU_Env::InfoEnv.new(@md.fns)
- @brace_url=SiSU_Viz::Skin.new.url_decoration
+ @brace_url=SiSU_Viz::Defaults.new.url_decoration
@tab="\t"
@@endnotes_=case md.opt.mod.inspect
when /--footnote/; false
@@ -188,9 +187,8 @@ WOK
end
end
def plaintext_tail
- SiSU_Env::InfoSkin.new(@md).select
# env=SiSU_Env::InfoEnv.new(@md.fns)
- vz=SiSU_Env::GetInit.new.skin
+ vz=SiSU_Viz::Defaults.new
base_url="#{@env.url.root}/#{@md.fnb}"
generator="Generated by: #{@md.sisu_version[:project]} #{@md.sisu_version[:version]} of #{@md.sisu_version[:date_stamp]} (#{@md.sisu_version[:date]})" if @md.sisu_version[:version]
lastdone="Last Generated on: #{Time.now}"