Class: Humanoid::Commands::Delete

Inherits:
Object
  • Object
show all
Extended by:
Deletion
Defined in:
lib/humanoid/commands/delete.rb

Class Method Summary collapse

Methods included from Deletion

delete

Class Method Details

.execute(doc) ⇒ Object

Performs a delete of the supplied Document without any callbacks.

Options:

doc: A new Document that is going to be deleted.



11
12
13
# File 'lib/humanoid/commands/delete.rb', line 11

def self.execute(doc)
  delete(doc)
end