Class: Unisec::CLI::Commands::Planes::List — Documentation by YARD 0.9.44

# Class: Unisec::CLI::Commands::Planes::List

Inherits:
  Dry::CLI::Command
  - Object
  - Dry::CLI::Command
  - Unisec::CLI::Commands::Planes::List
  show all

Defined in:
  lib/unisec/cli/planes.rb

## Overview

Command `unisec planes list`

Example:

    $ unisec planes list
    Range: U+0000 - U+FFFF      Name: Basic Multilingual Plane
    Range: U+10000 - U+1FFFF    Name: Supplementary Multilingual Plane
    Range: U+20000 - U+2FFFF    Name: Supplementary Ideographic Plane
    Range: U+30000 - U+3FFFF    Name: Tertiary Ideographic Plane
    …
    $ unisec planes list --with-blocks=true
    Range: U+0000 - U+FFFF      Name: Basic Multilingual Plane
      Blocks:
        Range: U+0000 - U+007F      Name: Basic Latin
        Range: U+0080 - U+00FF      Name: Latin-1 Supplement
        Range: U+0100 - U+017F      Name: Latin Extended-A
        Range: U+0180 - U+024F      Name: Latin Extended-B

## Instance Method Summary collapse

- #call(**options) ⇒ Object

  List Unicode blocks.

## Instance Method Details

### #call(**options) ⇒ `Object`

List Unicode blocks

    40
    41
    42
    43
    # File 'lib/unisec/cli/planes.rb', line 40

    def call(**options)
      Unisec::Planes.list_display(with_blocks: options[:with_blocks].to_bool,
                                  with_count: options[:with_count].to_bool)
    end