struct Admiral::StringValue

Overview

A wrapper for arguments passed to Admiral::Command.run All methods are delegated to String.

Defined in:

admiral/string_value.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(value : String) #

[View source]

Instance Method Detail

def %(*args, **options) #

def %(*args, **options, &) #

def *(*args, **options) #

def *(*args, **options, &) #

def +(*args, **options) #

def +(*args, **options, &) #

def <=>(*args, **options) #

def <=>(*args, **options, &) #

def ==(arg) #
Description copied from struct Struct

Returns true if this struct is equal to other.

Both structs' instance vars are compared to each other. Thus, two structs are considered equal if each of their instance variables are equal. Subclasses should override this method to provide specific equality semantics.

struct Point
  def initialize(@x : Int32, @y : Int32)
  end
end

p1 = Point.new 1, 2
p2 = Point.new 1, 2
p3 = Point.new 3, 4

p1 == p2 # => true
p1 == p3 # => false

def =~(*args, **options) #

def =~(*args, **options, &) #

def [](*args, **options) #

def [](*args, **options, &) #

def []?(*args, **options) #

def []?(*args, **options, &) #

def ascii_only?(*args, **options) #

def ascii_only?(*args, **options, &) #

def blank?(*args, **options) #

def blank?(*args, **options, &) #

def byte_at(*args, **options) #

def byte_at(*args, **options, &) #

def byte_at?(*args, **options) #

def byte_at?(*args, **options, &) #

def byte_delete_at(*args, **options) #

def byte_delete_at(*args, **options, &) #

def byte_index(*args, **options) #

def byte_index(*args, **options, &) #

def byte_index_to_char_index(*args, **options) #

def byte_index_to_char_index(*args, **options, &) #

def byte_slice(*args, **options) #

def byte_slice(*args, **options, &) #

def byte_slice?(*args, **options) #

def byte_slice?(*args, **options, &) #

def bytes(*args, **options) #

def bytes(*args, **options, &) #

def bytesize(*args, **options) #

def bytesize(*args, **options, &) #

def calc_excess_left(*args, **options) #

def calc_excess_left(*args, **options, &) #

def calc_excess_right(*args, **options) #

def calc_excess_right(*args, **options, &) #

def camelcase(*args, **options) #

def camelcase(*args, **options, &) #

def capitalize(*args, **options) #

def capitalize(*args, **options, &) #

def center(*args, **options) #

def center(*args, **options, &) #

def char_at(*args, **options) #

def char_at(*args, **options, &) #

def char_bytesize_at(*args, **options) #

def char_bytesize_at(*args, **options, &) #

def char_index_to_byte_index(*args, **options) #

def char_index_to_byte_index(*args, **options, &) #

def chars(*args, **options) #

def chars(*args, **options, &) #

def check_no_null_byte(*args, **options) #

def check_no_null_byte(*args, **options, &) #

def chomp(*args, **options) #

def chomp(*args, **options, &) #

def clone(*args, **options) #

def clone(*args, **options, &) #

def codepoint_at(*args, **options) #

def codepoint_at(*args, **options, &) #

def codepoints(*args, **options) #

def codepoints(*args, **options, &) #

def compare(*args, **options) #

def compare(*args, **options, &) #

def count(*args, **options) #

def count(*args, **options, &) #

def delete(*args, **options) #

def delete(*args, **options, &) #

def delete_at(*args, **options) #

def delete_at(*args, **options, &) #

def do_unicode_normalize(*args, **options) #

def do_unicode_normalize(*args, **options, &) #

def downcase(*args, **options) #

def downcase(*args, **options, &) #

def dump(*args, **options) #

def dump(*args, **options, &) #

def dump_char(*args, **options) #

def dump_char(*args, **options, &) #

def dump_hex(*args, **options) #

def dump_hex(*args, **options, &) #

def dump_or_inspect(*args, **options) #

def dump_or_inspect(*args, **options, &) #

def dump_or_inspect_char(*args, **options) #

def dump_or_inspect_char(*args, **options, &) #

def dump_or_inspect_unquoted(*args, **options) #

def dump_or_inspect_unquoted(*args, **options, &) #

def dump_unquoted(*args, **options) #

def dump_unquoted(*args, **options, &) #

def dup(*args, **options) #

def dup(*args, **options, &) #

def each_byte(*args, **options) #

def each_byte(*args, **options, &) #

def each_byte_index_and_char_index(*args, **options) #

def each_byte_index_and_char_index(*args, **options, &) #

def each_char(*args, **options) #

def each_char(*args, **options, &) #

def each_char_with_index(*args, **options) #

def each_char_with_index(*args, **options, &) #

def each_codepoint(*args, **options) #

def each_codepoint(*args, **options, &) #

def each_grapheme(*args, **options) #

def each_grapheme(*args, **options, &) #

def each_grapheme_boundary(*args, **options) #

def each_grapheme_boundary(*args, **options, &) #

def each_line(*args, **options) #

def each_line(*args, **options, &) #

def empty?(*args, **options) #

def empty?(*args, **options, &) #

def encode(*args, **options) #

def encode(*args, **options, &) #

def ends_with?(*args, **options) #

def ends_with?(*args, **options, &) #

def find_start_and_end(*args, **options) #

def find_start_and_end(*args, **options, &) #

def grapheme_size(*args, **options) #

def grapheme_size(*args, **options, &) #

def graphemes(*args, **options) #

def graphemes(*args, **options, &) #

def gsub(*args, **options) #

def gsub(*args, **options, &) #

def gsub_append(*args, **options) #

def gsub_append(*args, **options, &) #

def gsub_ascii_char(*args, **options) #

def gsub_ascii_char(*args, **options, &) #

def has_back_references?(*args, **options) #

def has_back_references?(*args, **options, &) #

def hash(*args, **options) #

def hash(*args, **options, &) #

def hexbytes(*args, **options) #

def hexbytes(*args, **options, &) #

def hexbytes?(*args, **options) #

def hexbytes?(*args, **options, &) #

def includes?(*args, **options) #

def includes?(*args, **options, &) #

def index(*args, **options) #

def index(*args, **options, &) #

def index!(*args, **options) #

def index!(*args, **options, &) #

def initialize_header(*args, **options) #

def initialize_header(*args, **options, &) #

def insert(*args, **options) #

def insert(*args, **options, &) #

def insert_impl(*args, **options) #

def insert_impl(*args, **options, &) #

def inspect(*args, **options) #

def inspect(*args, **options, &) #

def inspect_char(*args, **options) #

def inspect_char(*args, **options, &) #

def inspect_unquoted(*args, **options) #

def inspect_unquoted(*args, **options, &) #

def just(*args, **options) #

def just(*args, **options, &) #

def lchop(*args, **options) #

def lchop(*args, **options, &) #

def lchop?(*args, **options) #

def lchop?(*args, **options, &) #

def lines(*args, **options) #

def lines(*args, **options, &) #

def ljust(*args, **options) #

def ljust(*args, **options, &) #

def lstrip(*args, **options) #

def lstrip(*args, **options, &) #

def match(*args, **options) #

def match(*args, **options, &) #

def match!(*args, **options) #

def match!(*args, **options, &) #

def matches?(*args, **options) #

def matches?(*args, **options, &) #

def partition(*args, **options) #

def partition(*args, **options, &) #

def presence(*args, **options) #

def presence(*args, **options, &) #

def pretty_print(*args, **options) #

def pretty_print(*args, **options, &) #

def rchop(*args, **options) #

def rchop(*args, **options, &) #

def rchop?(*args, **options) #

def rchop?(*args, **options, &) #

def remove_excess(*args, **options) #

def remove_excess(*args, **options, &) #

def remove_excess_left(*args, **options) #

def remove_excess_left(*args, **options, &) #

def remove_excess_right(*args, **options) #

def remove_excess_right(*args, **options, &) #

def reverse(*args, **options) #

def reverse(*args, **options, &) #

def rindex(*args, **options) #

def rindex(*args, **options, &) #

def rindex!(*args, **options) #

def rindex!(*args, **options, &) #

def rjust(*args, **options) #

def rjust(*args, **options, &) #

def rpartition(*args, **options) #

def rpartition(*args, **options, &) #

def rstrip(*args, **options) #

def rstrip(*args, **options, &) #

def scan(*args, **options) #

def scan(*args, **options, &) #

def scan_backreferences(*args, **options) #

def scan_backreferences(*args, **options, &) #

def scrub(*args, **options) #

def scrub(*args, **options, &) #

def single_byte_optimizable?(*args, **options) #

def single_byte_optimizable?(*args, **options, &) #

def size(*args, **options) #

def size(*args, **options, &) #

def size_known?(*args, **options) #

def size_known?(*args, **options, &) #

def split(*args, **options) #

def split(*args, **options, &) #

def split_by_empty_separator(*args, **options) #

def split_by_empty_separator(*args, **options, &) #

def split_single_byte(*args, **options) #

def split_single_byte(*args, **options, &) #

def squeeze(*args, **options) #

def squeeze(*args, **options, &) #

def starts_with?(*args, **options) #

def starts_with?(*args, **options, &) #

def strip(*args, **options) #

def strip(*args, **options, &) #

def sub(*args, **options) #

def sub(*args, **options, &) #

def sub_append(*args, **options) #

def sub_append(*args, **options, &) #

def sub_index(*args, **options) #

def sub_index(*args, **options, &) #

def sub_range(*args, **options) #

def sub_range(*args, **options, &) #

def succ(*args, **options) #

def succ(*args, **options, &) #

def titleize(*args, **options) #

def titleize(*args, **options, &) #

def to_f(*args, **options) #

def to_f(*args, **options, &) #

def to_f32(*args, **options) #

def to_f32(*args, **options, &) #

def to_f32?(*args, **options) #

def to_f32?(*args, **options, &) #

def to_f64(*args, **options) #

def to_f64(*args, **options, &) #

def to_f64?(*args, **options) #

def to_f64?(*args, **options, &) #

def to_f?(*args, **options) #

def to_f?(*args, **options, &) #

def to_f_impl(*args, **options) #

def to_f_impl(*args, **options, &) #

def to_i(*args, **options) #

def to_i(*args, **options, &) #

def to_i128(*args, **options) #

def to_i128(*args, **options, &) #

def to_i128?(*args, **options) #

def to_i128?(*args, **options, &) #

def to_i16(*args, **options) #

def to_i16(*args, **options, &) #

def to_i16?(*args, **options) #

def to_i16?(*args, **options, &) #

def to_i32(*args, **options) #

def to_i32(*args, **options, &) #

def to_i32?(*args, **options) #

def to_i32?(*args, **options, &) #

def to_i64(*args, **options) #

def to_i64(*args, **options, &) #

def to_i64?(*args, **options) #

def to_i64?(*args, **options, &) #

def to_i8(*args, **options) #

def to_i8(*args, **options, &) #

def to_i8?(*args, **options) #

def to_i8?(*args, **options, &) #

def to_i?(*args, **options) #

def to_i?(*args, **options, &) #

def to_s(*args, **options) #

def to_s(*args, **options, &) #

def to_slice(*args, **options) #

def to_slice(*args, **options, &) #

def to_u128(*args, **options) #

def to_u128(*args, **options, &) #

def to_u128?(*args, **options) #

def to_u128?(*args, **options, &) #

def to_u16(*args, **options) #

def to_u16(*args, **options, &) #

def to_u16?(*args, **options) #

def to_u16?(*args, **options, &) #

def to_u32(*args, **options) #

def to_u32(*args, **options, &) #

def to_u32?(*args, **options) #

def to_u32?(*args, **options, &) #

def to_u64(*args, **options) #

def to_u64(*args, **options, &) #

def to_u64?(*args, **options) #

def to_u64?(*args, **options, &) #

def to_u8(*args, **options) #

def to_u8(*args, **options, &) #

def to_u8?(*args, **options) #

def to_u8?(*args, **options, &) #

def to_unsafe(*args, **options) #

def to_unsafe(*args, **options, &) #

def to_unsigned_info(*args, **options) #

def to_unsigned_info(*args, **options, &) #

def to_utf16(*args, **options) #

def to_utf16(*args, **options, &) #

def tr(*args, **options) #

def tr(*args, **options, &) #

def underscore(*args, **options) #

def underscore(*args, **options, &) #

def unicode_delete_at(*args, **options) #

def unicode_delete_at(*args, **options, &) #

def unicode_normalize(*args, **options) #

def unicode_normalize(*args, **options, &) #

def unicode_normalized?(*args, **options) #

def unicode_normalized?(*args, **options, &) #

def unsafe_byte_at(*args, **options) #

def unsafe_byte_at(*args, **options, &) #

def unsafe_byte_slice(*args, **options) #

def unsafe_byte_slice(*args, **options, &) #

def unsafe_byte_slice_string(*args, **options) #

def unsafe_byte_slice_string(*args, **options, &) #

def upcase(*args, **options) #

def upcase(*args, **options, &) #

def valid_encoding?(*args, **options) #

def valid_encoding?(*args, **options, &) #

def value : String #

[View source]