Module: CheckFields
- Defined in:
- lib/createDBTable.rb
Class Method Summary collapse
Class Method Details
.check(table) ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# File 'lib/createDBTable.rb', line 3 def self.check(table) if table.tablename == '' result = false elsif table.schema == '' result = false else result = true end return result end |