Versions in this module Expand all Collapse all v0 v0.8.3 Oct 25, 2026 v0.8.2 Oct 25, 2026 v0.8.1 Oct 20, 2026 v0.8.0 Oct 18, 2026 v0.7.0 Oct 18, 2026 v0.6.1 Oct 17, 2026 v0.6.0 Oct 12, 2026 v0.5.0 Oct 11, 2026 v0.4.0 Oct 11, 2026 v0.3.0 Oct 10, 2026 v0.2.0 Oct 5, 2026 v0.1.0 Oct 4, 2026 Changes in this version + var CustomKeyHook func(k Value) (rubyHash int64, eql func(stored Value) bool, ok bool) + var False = Bool(false) + var NilV = Nil + var True = Bool(true) + func BigOf(v Value) (*big.Int, bool) + func IsNil(v Value) bool + func ReprEnter(v Value) bool + func ReprLeave(v Value) + type Array struct + Elems []Value + Frozen bool + func NewArray(elems ...Value) *Array + func NewArrayFromSlice(elems []Value) *Array + func (a *Array) Inspect() string + func (a *Array) ToS() string + func (a *Array) Truthy() bool + type Bignum struct + I *big.Int + func (b *Bignum) Inspect() string + func (b *Bignum) ToS() string + func (b *Bignum) Truthy() bool + type Bool bool + func (b Bool) Inspect() string + func (b Bool) ToS() string + func (b Bool) Truthy() bool + type Complex struct + Im Value + Re Value + func (c *Complex) Inspect() string + func (c *Complex) ToS() string + func (c *Complex) Truthy() bool + type Float float64 + func (f Float) Inspect() string + func (f Float) ToS() string + func (f Float) Truthy() bool + type Hash struct + Default Value + DefaultProc Value + Frozen bool + Identity bool + Keys []Value + Ruby2Keywords bool + func NewHash() *Hash + func NewHashCap(n int) *Hash + func (h *Hash) Clear() + func (h *Hash) CompareByIdentity() + func (h *Hash) Delete(k Value) (Value, bool) + func (h *Hash) Get(k Value) (Value, bool) + func (h *Hash) Inspect() string + func (h *Hash) Len() int + func (h *Hash) Rehash() + func (h *Hash) ReplaceWith(o *Hash) + func (h *Hash) Set(k, v Value) + func (h *Hash) ToS() string + func (h *Hash) Truthy() bool + type Integer int64 + func (i Integer) Inspect() string + func (i Integer) ToS() string + func (i Integer) Truthy() bool + type KeyUnwrapper interface + HashUnwrap func() (Value, bool) + type Main struct + func NewMain() *Main + func (m *Main) Inspect() string + func (m *Main) IvarTable() map[string]Value + func (m *Main) ToS() string + func (m *Main) Truthy() bool + type Nil struct + func (Nil) Inspect() string + func (Nil) ToS() string + func (Nil) Truthy() bool + type Range struct + Exclusive bool + Hi Value + Lo Value + func NewRange(lo, hi Value, exclusive bool) *Range + func (r *Range) Inspect() string + func (r *Range) ToS() string + func (r *Range) Truthy() bool + type Rational struct + R *big.Rat + func (r *Rational) Inspect() string + func (r *Rational) ToS() string + func (r *Rational) Truthy() bool + type String struct + Enc string + Frozen bool + func FString(s, enc string) *String + func InternFString(s *String) *String + func NewFrozenStringView(s string) *String + func NewString(s string) *String + func NewStringBytes(b []byte) *String + func NewStringBytesEnc(b []byte, enc string) *String + func NewStringView(s string) *String + func NewStringViewEnc(s, enc string) *String + func (s *String) Bytes() []byte + func (s *String) Dump() string + func (s *String) Dup() *String + func (s *String) EncName() string + func (s *String) Inspect() string + func (s *String) IsBinary() bool + func (s *String) Len() int + func (s *String) MutableBytes() []byte + func (s *String) SetBytes(b []byte) + func (s *String) Str() string + func (s *String) TakeFrom(o *String) + func (s *String) ToS() string + func (s *String) Truthy() bool + type Symbol string + func (s Symbol) Inspect() string + func (s Symbol) ToS() string + func (s Symbol) Truthy() bool + type Value interface + Inspect func() string + ToS func() string + Truthy func() bool + func IntValue(v int64) Value + func NilVal() Value + func NormInt(z *big.Int) Value + func SymVal(name string) Value