Sha256: 05f02bdadb69e86c51c269097e40ba12f31dc0eaeebc0bfe2b9ee8a8beec7c8e

Contents?: true

Size: 487 Bytes

Versions: 13

Compression:

Stored size: 487 Bytes

Contents

require_relative "lib/unicode/numeric_value"
require "unicode/name" # https://github.com/janlelis/unicode-name

puts "Codepoint | Character | Numeric Value | Name\n" \
     "----------|-----------|---------------|-----\n" +
    Unicode::NumericValue.chars.map{ |char|
      [    
        format("U+%.4X", char.unpack("U")[0]).rjust(9),
        char.rjust(9),
        Unicode::NumericValue.of(char).inspect.rjust(13),
        Unicode::Name.of(char)
      ].join(" | ") 
    }.join("\n")

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
unicode-numeric_value-1.11.0 table.rb
unicode-numeric_value-1.10.0 table.rb
unicode-numeric_value-1.9.0 table.rb
unicode-numeric_value-1.8.0 table.rb
unicode-numeric_value-1.7.0 table.rb
unicode-numeric_value-1.6.0 table.rb
unicode-numeric_value-1.5.0 table.rb
unicode-numeric_value-1.4.0 table.rb
unicode-numeric_value-1.3.2 table.rb
unicode-numeric_value-1.3.1 table.rb
unicode-numeric_value-1.3.0 table.rb
unicode-numeric_value-1.2.0 table.rb
unicode-numeric_value-1.1.0 table.rb