add predicates for parser_args/producer_args
[dbsrgits/SQL-Translator-2.0-ish.git] / lib / SQL / Translator.pm
index 72541f9..f1fc0f0 100644 (file)
@@ -47,11 +47,13 @@ class SQL::Translator {
     has 'parser_args' => (
         isa => HashRef,
         is => 'rw',
+        predicate => 'has_parser_args',
     );
 
     has 'producer_args' => (
         isa => HashRef,
         is => 'rw',
+        predicate => 'has_producer_args',
     );
     
     has 'add_drop_table' => (isa => Bool, is => 'rw', default => 0);