Class: ODDB::DeleteCommand

Inherits:
Object show all
Defined in:
src/command/delete.rb

Instance Method Summary (collapse)

Constructor Details

- (DeleteCommand) initialize(pointer)

A new instance of DeleteCommand



6
7
8
# File 'src/command/delete.rb', line 6

def initialize(pointer)
  @pointer = pointer
end

Instance Method Details

- (Object) execute(app)



9
10
11
# File 'src/command/delete.rb', line 9

def execute(app)
  app.delete(@pointer)
end