aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/defaults.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2009-07-04 08:40:03 -0400
committerRalph Amissah <ralph@amissah.com>2009-07-04 08:40:03 -0400
commit53a4ec45a504cc19536530e37da4f79bfbd895fd (patch)
tree5f02128660d11de73de2f3284ef50d513436471a /lib/sisu/v0/defaults.rb
parentversion number + (diff)
make sisu and ruby version info ruby instance methods
Diffstat (limited to 'lib/sisu/v0/defaults.rb')
-rw-r--r--lib/sisu/v0/defaults.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v0/defaults.rb b/lib/sisu/v0/defaults.rb
index 2f82c31e..fe2a61e8 100644
--- a/lib/sisu/v0/defaults.rb
+++ b/lib/sisu/v0/defaults.rb
@@ -70,7 +70,7 @@ module SiSU_Viz
@fonts='verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman' # 'verdana, arial, georgia, tahoma, sans-serif, helvetica, "times new roman", times, roman'
@dir=SiSU_Env::Info_env.new
@date=SiSU_Env::Info_date.new #{@date.year}
- @v=SiSU_Env::Info_version.new.get_version
+ @v=SiSU_Env::Info_version.instance.get_version
end
#% glyph
def glyph_bullet # &bullet;
@@ -1657,7 +1657,7 @@ WOK
end
class Home < Skin
def initialize
- @v=SiSU_Env::Info_version.new.get_version
+ @v=SiSU_Env::Info_version.instance.get_version
@dir=SiSU_Env::Info_env.new
@date=SiSU_Env::Info_date.new #{@date.year}
end