Class: Solana::Ruby::Kit::Options::None

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/solana/ruby/kit/options/option.rb

Overview

Represents the absence of a value — mirrors TypeScript’s None.

Constant Summary collapse

INSTANCE =
T.let(new, None)

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



47
# File 'lib/solana/ruby/kit/options/option.rb', line 47

def ==(other) = other.is_a?(None)

#inspectObject



44
# File 'lib/solana/ruby/kit/options/option.rb', line 44

def inspect = 'None'