aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/dal_images.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-05-03 19:09:54 -0400
committerRalph Amissah <ralph@amissah.com>2010-05-03 19:09:54 -0400
commit67e49a2b278b1512fb39a33a779f68a1389f9849 (patch)
treeb53682f4508b7a2a4a0c3042592b4f9f53f83975 /lib/sisu/v2/dal_images.rb
parentdal_numbering, heading auto-numbering, a fix (diff)
ansi, screen info related, arranging
Diffstat (limited to 'lib/sisu/v2/dal_images.rb')
-rw-r--r--lib/sisu/v2/dal_images.rb9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/sisu/v2/dal_images.rb b/lib/sisu/v2/dal_images.rb
index 1e474010..0b6d2b1e 100644
--- a/lib/sisu/v2/dal_images.rb
+++ b/lib/sisu/v2/dal_images.rb
@@ -76,8 +76,7 @@ module SiSU_images
end
else
if @md.cmd =~/[vVM]/
- tell=SiSU_Screen::Ansi.new(@md.cmd,'use of RMagick is not enabled in sisurc.yml')
- tell.warn
+ SiSU_Screen::Ansi.new(@md.cmd,'use of RMagick is not enabled in sisurc.yml').warn
end
end
data.each do |dob|
@@ -102,8 +101,7 @@ module SiSU_images
img_col,img_row=img.columns,img.rows
else
if @md.cmd =~/[vVM]/
- tell=SiSU_Screen::Ansi.new(@md.cmd,'RMagick not present, will attempt to use imagemagick (identify) directly')
- tell.warn
+ SiSU_Screen::Ansi.new(@md.cmd,'RMagick not present, will attempt to use imagemagick (identify) directly').warn
end
imgk=SiSU_Env::System_call.new.imagemagick
gmgk=SiSU_Env::System_call.new.graphicksmagick
@@ -140,8 +138,7 @@ module SiSU_images
end
else
images=dob.obj.scan(m) do |image|
- tell=SiSU_Screen::Ansi.new(@md.cmd,'where image dimensions have not been provided RMagick or imagemagick is required',image)
- tell.warn #unless @opt.cmd =~/q/
+ SiSU_Screen::Ansi.new(@md.cmd,'where image dimensions have not been provided RMagick or imagemagick is required',image).warn #unless @opt.cmd =~/q/
end
end
end