lib/ronin/code/sql/drop_table.rb in ronin-sql-0.2.2 vs lib/ronin/code/sql/drop_table.rb in ronin-sql-0.2.3
- old
+ new
@@ -30,12 +30,12 @@
def initialize(dialect,table=nil,options={},&block)
super(dialect,'TABLE',table,options,&block)
end
- def table(name)
- @name = name
- return self
+ def table(name=nil)
+ @name = name if name
+ return @name
end
end
end
end