Class: Solana::Ruby::Kit::Options::None
- Inherits:
-
Object
- Object
- Solana::Ruby::Kit::Options::None
- 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) |
#inspect ⇒ Object
44 |
# File 'lib/solana/ruby/kit/options/option.rb', line 44 def inspect = 'None' |