Generate the shortest sequence of operations to change string A into string B.
-
Add the dependency to your
shard.yml:dependencies: string_diff: github: plambert/string_diff.cr
-
Run
shards install
require "string_diff"
diff = StringDiff.new( a, b )
diff.to_s STDOUTTODO: Write development instructions here
- Fork it (https://github.com/your-github-user/diff.cr/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
- Paul M. Lambert - creator and maintainer