aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/db_load_tuple.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2007-12-08 01:45:13 +0000
committerRalph Amissah <ralph@amissah.com>2007-12-08 01:45:13 +0000
commit084d10a94dd5a62b09de69ad95971f579097f07e (patch)
tree11760cb2633997d93f14110e353aef1d64da02fd /lib/sisu/v0/db_load_tuple.rb
parentgpl links updated and added link to plaintext as allows for convenient use of... (diff)
changelog and version updated
Diffstat (limited to 'lib/sisu/v0/db_load_tuple.rb')
-rw-r--r--lib/sisu/v0/db_load_tuple.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v0/db_load_tuple.rb b/lib/sisu/v0/db_load_tuple.rb
index e324fd1b..d85346cc 100644
--- a/lib/sisu/v0/db_load_tuple.rb
+++ b/lib/sisu/v0/db_load_tuple.rb
@@ -89,8 +89,8 @@ module SiSU_DB_tuple
})
end
if @opt.cmd =~/v/
- if @col[:lev].to_s =~/[1235678]/
- lev=case @col[:lev].to_s
+ if @col[:lev].inspect =~/[1235678]/
+ lev=case @col[:lev].inspect
when /1/; ':A'
when /2/; ':B'
when /3/; ':C'
@@ -98,7 +98,7 @@ module SiSU_DB_tuple
when /6/; ' 3'
end
puts %{#{lev}>\t#{@col[:lv1]}\t#{@col[:lv2]}\t#{@col[:lv3]}\t#{@col[:lv4]}\t#{@col[:lv5]}\t#{@col[:lv6]}\t#{@col[:ocn]}\t#{@col[:ocnd]}\t#{@col[:ocns]}}
- elsif @col[:lev].to_s =~/[4]/
+ elsif @col[:lev].inspect =~/[4]/
puts %{ #{@cX.green}1>#{@cX.off}\t#{@col[:lv1]}\t#{@col[:lv2]}\t#{@col[:lv3]}\t#{@col[:lv4]}\t#{@col[:lv5]}\t#{@col[:lv6]}\t#{@col[:ocn]}\t#{@col[:ocnd]}\t#{@col[:ocns]}\t#{@col[:seg]}}
end
end