README.md in typogrowth-0.9.0 vs README.md in typogrowth-0.9.1
- old
+ new
@@ -32,25 +32,25 @@
$ gem install typogrowth
## Usage
```ruby
- s = 'And God said "Baz heard "Bar" once" , and there was light.'
- puts s.typo
- # ⇒ And God said “Baz heard ‘Bar’ once,” and there was light.
- puts Typogrowth.parse(s)
- # ⇒ And God said “Baz heard ‘Bar’ once,” and there was light.
+s = 'And God said "Baz heard "Bar" once" , and there was light.'
+puts s.typo
+# ⇒ And God said “Baz heard ‘Bar’ once,” and there was light.
+puts Typogrowth.parse(s)
+# ⇒ And God said “Baz heard ‘Bar’ once,” and there was light.
- s = 'И Бог сказал: "Я - слышу "Бум" и "Бам" где-то там" , и стало светло.'
- puts s.typo('ru') # Explicit locale specification may be omitted
- # while running under ru_RU.UTF-8 locale
- # ⇒ И Бог сказал: «Я — слышу „Бум“ и „Бам“ где-то там», и стало светло.
+s = 'И Бог сказал: "Я - слышу "Бум" и "Бам" где-то там" , и стало светло.'
+puts s.typo('ru') # Explicit locale specification may be omitted
+ # while running under ru_RU.UTF-8 locale
+# ⇒ И Бог сказал: «Я — слышу „Бум“ и „Бам“ где-то там», и стало светло.
- s = 'And God said "Oslo coordinates are: 59°57′N 10°45′E" and there was light.'
- s.typo!
- # ⇒ And God said “Oslo coordinates are: 59°57′N 10°45′E” and there was light.
- puts s
- # ⇒ And God said “Oslo coordinates are: 59°57′N 10°45′E” and there was light.
+s = 'And God said "Oslo coordinates are: 59°57′N 10°45′E" and there was light.'
+s.typo!
+# ⇒ And God said “Oslo coordinates are: 59°57′N 10°45′E” and there was light.
+puts s
+# ⇒ And God said “Oslo coordinates are: 59°57′N 10°45′E” and there was light.
```
## Contributing
1. Fork it