summaryrefslogtreecommitdiffstats
path: root/dia2pg.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-12-16 15:32:31 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-12-16 15:32:31 +0100
commita9b984021af0544e2bb2ef082ba0c119f38b4460 (patch)
tree6e35a47bbca7b781f200a40b8a9bb22191f373fe /dia2pg.rb
parent9174e85d23c795d30e7f6c72c3f90177d0e04bed (diff)
downloadbin-a9b984021af0544e2bb2ef082ba0c119f38b4460.zip
bin-a9b984021af0544e2bb2ef082ba0c119f38b4460.tar.gz
dia2pg: do not require 'opt'=1, just 'opt'
Diffstat (limited to 'dia2pg.rb')
-rwxr-xr-xdia2pg.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/dia2pg.rb b/dia2pg.rb
index 3937da4..2179305 100755
--- a/dia2pg.rb
+++ b/dia2pg.rb
@@ -103,7 +103,7 @@ class Table
#
def no_export?
return false if @comment.nil?
- @comment=~/no_export=1/
+ @comment=~/no_export/
end
#
def << a
@@ -189,17 +189,17 @@ class Attribute
#
def no_rename?
return false if @comment.nil?
- @comment=~/no_rename=1/
+ @comment=~/no_rename/
end
#
def no_prefix?
return false if @comment.nil?
- @comment=~/no_prefix=1/
+ @comment=~/no_prefix/
end
#
def no_export?
return false if @comment.nil?
- @comment=~/no_export=1/
+ @comment=~/no_export/
end
#
def default