Class: Cliptic::Database::Delete

Inherits:
Object
  • Object
show all
Defined in:
lib/cliptic/database.rb

Class Method Summary collapse

Class Method Details

.allObject



86
87
88
# File 'lib/cliptic/database.rb', line 86

def self.all
  File.delete(File_Path)
end

.table(table) ⇒ Object



83
84
85
# File 'lib/cliptic/database.rb', line 83

def self.table(table)
  SQL.new(table:table).drop
end