README.md in unicode-sequence_name-1.14.1 vs README.md in unicode-sequence_name-1.15.0
- old
+ new
@@ -8,11 +8,11 @@
IVD version: **2022-09-13** (September 2022)
Supported Rubies: **3.3**, **3.2**, **3.1**, **3.0**
-Old Rubies which might still work: **2.7**, **2.6**, **2.5**, **2.4**, **2.3**, **2.X**
+Old Rubies which might still work: **2.X**
## Usage
```ruby
require "unicode/sequence_name"
@@ -30,13 +30,13 @@
Unicode::SequenceName.of "🐦⬛" # => "BLACK BIRD"
Unicode::SequenceName.of "🙂↔️" # => "HEAD SHAKING HORIZONTALLY"
Unicode::SequenceName.of "‘︁" # => "LEFT SINGLE QUOTATION MARK (right-justified fullwidth form)"
```
-Names for singular codepoints are not included, you can use [unicode-name](https://github.com/janlelis/unicode-name) for that purpose. This is how you could use both libraries together to get the most relevant name of a character:
+Names for singular codepoints are not included, but you can use [unicode-name](https://github.com/janlelis/unicode-name) for that purpose. This is how you could use both libraries together to get the most relevant name of a character:
```ruby
-name = Unicode::Name.sequence_name(char) || Unicode::Name.readable(char)
+name = Unicode::SequenceName.of(char) || Unicode::Name.readable(char)
```
## Also See
- [uniscribe](https://github.com/janlelis/uniscribe) - cli utility that makes use of unicode_sequence-name