Skip to content

Conversation

@defeated
Copy link

Hi!

I went to use "something".diff_by_char() and realized that String had only been extended with the diff() method so far.

Added:

"something".diff_by_char("something else")
"something".diff_by_word("something else")
"something".diff_by_line("something else")

(And a few related specs.)

(Note: Also minor update to spec_helper.rb so it stops warning about deprecated rspec2 syntax.)

defeated added 2 commits July 31, 2011 15:11
"DEPRECATION WARNING: you are using deprecated behaviour that will
be removed from a future version of RSpec.

/Users/defeated/Desktop/differ/spec/spec_helper.rb:7:in `<top (required)>'

* Spec::Runner.configure is deprecated.
* please use RSpec.configure instead."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant