Class: DBA::Indexes

Inherits:
TableCommand show all
Defined in:
lib/dba/indexes.rb

Instance Attribute Summary

Attributes inherited from Command

#database, #table_name

Instance Method Summary collapse

Methods inherited from TableCommand

#call

Methods inherited from Command

#initialize

Constructor Details

This class inherits a constructor from DBA::Command

Instance Method Details

#visit(table_name) ⇒ Object



2
3
4
# File 'lib/dba/indexes.rb', line 2

def visit(table_name)
  printer.print_indexes(database.indexes(table_name))
end