README.md in accent-buster-0.9.0 vs README.md in accent-buster-1.0.0
- old
+ new
@@ -4,10 +4,12 @@
I made it because I don't want to add "ActiveSupport" to the projects everytime I need that (also, I'm too lazy to type the same thing all the time).
This lib will have NO MORE than the very strictly necessary to replace diacritics, currently, it has 2 methods: "String#accent_buster" and "String#accent_buster!" (note the bang).
+Accent Buster uses refinements, so, ruby 2.0+ only.
+
## Installation
Add this line to your application's Gemfile:
gem 'accent-buster'
@@ -20,15 +22,18 @@
$ gem install accent-buster
## Usage
-!!!ruby
- 'ação'.accent\_buster # => 'acao'
- x = 'é você?'
- x.accent\_buster!
- # => x = 'e voce'
-!!!
+```ruby
+# Refinements!
+using AccentBuster::StringExtension
+
+'ação'.accent_buster # => 'acao'
+x = 'é você?'
+x.accent_buster!
+# => x = 'e voce'
+```
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)