Module: Definite
- Defined in:
- lib/definite.rb,
lib/definite/cli.rb,
lib/definite/reader.rb,
lib/definite/version.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
"0.0.1"
Instance Method Summary collapse
-
#update ⇒ Object
Your code goes here…
Instance Method Details
#update ⇒ Object
Your code goes here…
8 9 10 11 12 13 |
# File 'lib/definite.rb', line 8 def update target_schema = Definite::Reader.read current_schema = Definite::Dumper.read changes = Definite::Changes.difference :new_schema => new_schema, :current_schema => current_schema Definite::Writer.write changes end |