Class: DBA::Schema
- Inherits:
-
TableCommand
- Object
- Command
- TableCommand
- DBA::Schema
- Defined in:
- lib/dba/schema.rb
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
Methods inherited from TableCommand
Methods inherited from Command
Constructor Details
This class inherits a constructor from DBA::Command
Instance Method Details
#visit(table_name) ⇒ Object
2 3 4 |
# File 'lib/dba/schema.rb', line 2 def visit(table_name) printer.print_schema(table_name, database.schema(table_name)) end |