Class: Scheman::Commands::Diff
- Defined in:
- lib/scheman/commands/diff.rb
Constant Summary collapse
- DEFAULT_AFTER_SCHEMA_PATH =
"schema.sql"- DEFAULT_TYPE =
"mysql"
Instance Method Summary collapse
-
#call ⇒ Object
Outputs a schema diff.
-
#initialize(argv) ⇒ Diff
constructor
A new instance of Diff.
Constructor Details
#initialize(argv) ⇒ Diff
Returns a new instance of Diff.
9 10 11 |
# File 'lib/scheman/commands/diff.rb', line 9 def initialize(argv) @argv = argv end |
Instance Method Details
#call ⇒ Object
Outputs a schema diff
14 15 16 |
# File 'lib/scheman/commands/diff.rb', line 14 def call print diff end |