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

# Class: Unisec::CLI::Commands::Blocks::List

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

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

## Overview

Command `unisec blocks list`

Example:

    $ unisec blocks list
    Range: U+0000 - U+007F      Name: Basic Latin
    Range: U+0080 - U+00FF      Name: Latin-1 Supplement
    …

## Instance Method Summary collapse

- #call(**options) ⇒ Object

  List Unicode blocks.

## Instance Method Details

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

List Unicode blocks

    29
    30
    31
    # File 'lib/unisec/cli/blocks.rb', line 29

    def call(**options)
      Unisec::Blocks.list_display(with_count: options[:with_count].to_bool)
    end