Class: Hasten::Insert

Inherits:
Command
  • Object
show all
Defined in:
lib/hasten/commands/insert.rb

Class Method Summary collapse

Methods inherited from Command

#<<, #complete?, #sql, #type

Class Method Details

.match?(sql) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/hasten/commands/insert.rb', line 5

def self.match?(sql)
  sql.match(/^INSERT/)
end