vm

package
v0.0.0-...-aaf2ed9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2026 License: BSD-3-Clause Imports: 248 Imported by: 0

Documentation ¶

Overview ¶

Code generated by FreezeISeq; DO NOT EDIT.

Package vm interprets bytecode.

Phase 1 adds the live object model (plan §5): values dispatch through mutable per-class method tables (the project's objc_msgSend), so monkey-patching, define_method, method_missing, classes, instances and ivars all work. The arithmetic/comparison opcodes remain a fast path; method calls go through OpSend → send().

Runtime errors are still fatal in Phase 1 (rescue arrives in Phase 3) and travel as panic(RubyError) recovered at the Run boundary.

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

func RegisterCompiled ¶

func RegisterCompiled(key string, fn CompiledMethod)

RegisterCompiled records fn as the AOT-compiled body for key ("Owner#name"). Generated build output calls this from init(), before any Ruby runs.

func RegisterCompiledMain ¶

func RegisterCompiledMain(fn CompiledMain)

RegisterCompiledMain records fn as the AOT-compiled program top level. Generated build output calls this from init(), before any Ruby runs.

Types ¶

type ACMEAuthorization ¶

type ACMEAuthorization struct {
	// contains filtered or unexported fields
}

ACMEAuthorization wraps an *acme.Authorization as Acme::Client::Authorization.

func (*ACMEAuthorization) Inspect ¶

func (a *ACMEAuthorization) Inspect() string

func (*ACMEAuthorization) ToS ¶

func (a *ACMEAuthorization) ToS() string

func (*ACMEAuthorization) Truthy ¶

func (a *ACMEAuthorization) Truthy() bool

type ACMECSR ¶

type ACMECSR struct {
	// contains filtered or unexported fields
}

ACMECSR wraps a DER-encoded PKCS#10 request as Acme::Client::CertificateRequest.

func (*ACMECSR) Inspect ¶

func (r *ACMECSR) Inspect() string

func (*ACMECSR) ToS ¶

func (r *ACMECSR) ToS() string

func (*ACMECSR) Truthy ¶

func (r *ACMECSR) Truthy() bool

type ACMEChallenge ¶

type ACMEChallenge struct {
	// contains filtered or unexported fields
}

ACMEChallenge wraps an *acme.Challenge as a Ruby Acme::Client::Challenge.

func (*ACMEChallenge) Inspect ¶

func (c *ACMEChallenge) Inspect() string

func (*ACMEChallenge) ToS ¶

func (c *ACMEChallenge) ToS() string

func (*ACMEChallenge) Truthy ¶

func (c *ACMEChallenge) Truthy() bool

type ACMEClient ¶

type ACMEClient struct {
	// contains filtered or unexported fields
}

ACMEClient wraps an *acme.Client as a Ruby Acme::Client. It is the entry point for account registration and order creation. The RFC 8555 / JWS protocol lives entirely in the go-ruby-acme library; this shell reports the Ruby class (via classOf) and bridges keyword arguments.

func (*ACMEClient) Inspect ¶

func (c *ACMEClient) Inspect() string

func (*ACMEClient) ToS ¶

func (c *ACMEClient) ToS() string

func (*ACMEClient) Truthy ¶

func (c *ACMEClient) Truthy() bool

type ACMEOrder ¶

type ACMEOrder struct {
	// contains filtered or unexported fields
}

ACMEOrder wraps an *acme.Order as a Ruby Acme::Client::Order.

func (*ACMEOrder) Inspect ¶

func (o *ACMEOrder) Inspect() string

func (*ACMEOrder) ToS ¶

func (o *ACMEOrder) ToS() string

func (*ACMEOrder) Truthy ¶

func (o *ACMEOrder) Truthy() bool

type ACMapper ¶

type ACMapper struct {
	// contains filtered or unexported fields
}

ACMapper is the self the routes DSL runs against inside `draw do … end` — a thin wrapper over the library's *routing.Mapper exposing the verb matchers, resources/resource, root, namespace/scope and member/collection blocks.

func (*ACMapper) Inspect ¶

func (m *ACMapper) Inspect() string

func (*ACMapper) ToS ¶

func (m *ACMapper) ToS() string

func (*ACMapper) Truthy ¶

func (m *ACMapper) Truthy() bool

type ACParams ¶

type ACParams struct {
	// contains filtered or unexported fields
}

ACParams is the Ruby wrapper over a *parameters.Parameters — Rails' strong parameters, with permit/require/[]/to_h. It carries its class so classOf reports ActionController::Parameters.

func (*ACParams) Inspect ¶

func (p *ACParams) Inspect() string

func (*ACParams) ToS ¶

func (p *ACParams) ToS() string

func (*ACParams) Truthy ¶

func (p *ACParams) Truthy() bool

type ACRequest ¶

type ACRequest struct {
	// contains filtered or unexported fields
}

ACRequest is the Ruby wrapper over a *dispatch.Request — an ActionDispatch request over a Rack env, exposing the merged params, the path parameters and the format negotiation. It carries its class so classOf reports ActionDispatch::Request.

func (*ACRequest) Inspect ¶

func (r *ACRequest) Inspect() string

func (*ACRequest) ToS ¶

func (r *ACRequest) ToS() string

func (*ACRequest) Truthy ¶

func (r *ACRequest) Truthy() bool

type ACResponse ¶

type ACResponse struct {
	// contains filtered or unexported fields
}

ACResponse is the Ruby wrapper over a *dispatch.Response — the mutable Rack response (status/headers/body/write). It carries its class so classOf reports ActionDispatch::Response.

func (*ACResponse) Inspect ¶

func (r *ACResponse) Inspect() string

func (*ACResponse) ToS ¶

func (r *ACResponse) ToS() string

func (*ACResponse) Truthy ¶

func (r *ACResponse) Truthy() bool

type ACRouteSet ¶

type ACRouteSet struct {
	// contains filtered or unexported fields
}

ACRouteSet is the Ruby wrapper over a *routing.RouteSet — the ordered route collection built by ActionDispatch::Routing::RouteSet.new and its `draw` block, queried with recognize/path/url_for. It carries its class so classOf reports ActionDispatch::Routing::RouteSet.

func (*ACRouteSet) Inspect ¶

func (s *ACRouteSet) Inspect() string

func (*ACRouteSet) ToS ¶

func (s *ACRouteSet) ToS() string

func (*ACRouteSet) Truthy ¶

func (s *ACRouteSet) Truthy() bool

type ASAttachment ¶

type ASAttachment struct {
	// contains filtered or unexported fields
}

ASAttachment is the Ruby wrapper around a *activestorage.Attachment — the join record binding a blob to a named association on a record (ActiveStorage::Attachment).

func (*ASAttachment) Inspect ¶

func (a *ASAttachment) Inspect() string

func (*ASAttachment) ToS ¶

func (a *ASAttachment) ToS() string

func (*ASAttachment) Truthy ¶

func (a *ASAttachment) Truthy() bool

type ASBlob ¶

type ASBlob struct {
	// contains filtered or unexported fields
}

ASBlob is the Ruby wrapper around a *activestorage.Blob — the persisted description of an uploaded file (its sharded storage key, filename, content type, byte size and base64 MD5 checksum). It mirrors ActiveStorage::Blob.

func (*ASBlob) Inspect ¶

func (b *ASBlob) Inspect() string

func (*ASBlob) ToS ¶

func (b *ASBlob) ToS() string

func (*ASBlob) Truthy ¶

func (b *ASBlob) Truthy() bool

type ASInflections ¶

type ASInflections struct {
	// contains filtered or unexported fields
}

ASInflections is the DSL self a `ActiveSupport::Inflector.inflections { |inflect| … }` block runs against: inflect.plural/singular/human register a (regexp, replacement) rule, inflect.irregular a singular/plural pair, inflect.uncountable marks never-inflected words and inflect.acronym an acronym. It wraps the VM's live inflection ruleset, so registrations take effect immediately for both Inflector.pluralize and the String core extensions.

func (*ASInflections) Inspect ¶

func (i *ASInflections) Inspect() string

func (*ASInflections) ToS ¶

func (i *ASInflections) ToS() string

func (*ASInflections) Truthy ¶

func (i *ASInflections) Truthy() bool

type ASMany ¶

type ASMany struct {
	// contains filtered or unexported fields
}

ASMany is the Ruby wrapper around a *activestorage.ManyAttached — the has_many_attached proxy for an ordered set of named attachments on a record.

func (*ASMany) Inspect ¶

func (m *ASMany) Inspect() string

func (*ASMany) ToS ¶

func (m *ASMany) ToS() string

func (*ASMany) Truthy ¶

func (m *ASMany) Truthy() bool

type ASModelError ¶

type ASModelError struct {
	// contains filtered or unexported fields
}

ASModelError is the Ruby wrapper around an *activemodel.Error — a single validation error bound to an attribute (ActiveModel::Error): #attribute, #type, #message, #full_message, #options, #details.

func (*ASModelError) Inspect ¶

func (e *ASModelError) Inspect() string

func (*ASModelError) ToS ¶

func (e *ASModelError) ToS() string

func (*ASModelError) Truthy ¶

func (e *ASModelError) Truthy() bool

type ASModelErrors ¶

type ASModelErrors struct {
	// contains filtered or unexported fields
}

ASModelErrors is the Ruby wrapper around an *activemodel.Errors — the ordered collection of a model's validation errors (ActiveModel::Errors): #add, #full_messages, #messages, #details, #where, #added? and friends.

func (*ASModelErrors) Inspect ¶

func (e *ASModelErrors) Inspect() string

func (*ASModelErrors) ToS ¶

func (e *ASModelErrors) ToS() string

func (*ASModelErrors) Truthy ¶

func (e *ASModelErrors) Truthy() bool

type ASModelName ¶

type ASModelName struct {
	// contains filtered or unexported fields
}

ASModelName is the Ruby wrapper around an activemodel.Name — the bundle of conventional names (singular/plural/element/human/collection/param_key/…) Rails derives from a model class name via ActiveModel::Naming. The pure derivation (through go-ruby-activesupport's Inflector, byte-for-byte with Rails) lives in the github.com/go-ruby-activemodel/activemodel library; this is the thin shell exposing it to rbgo.

func (*ASModelName) Inspect ¶

func (m *ASModelName) Inspect() string

func (*ASModelName) ToS ¶

func (m *ASModelName) ToS() string

func (*ASModelName) Truthy ¶

func (m *ASModelName) Truthy() bool

type ASOne ¶

type ASOne struct {
	// contains filtered or unexported fields
}

ASOne is the Ruby wrapper around a *activestorage.OneAttached — the has_one_attached proxy for a single named attachment on a record.

func (*ASOne) Inspect ¶

func (o *ASOne) Inspect() string

func (*ASOne) ToS ¶

func (o *ASOne) ToS() string

func (*ASOne) Truthy ¶

func (o *ASOne) Truthy() bool

type ASService ¶

type ASService struct {
	// contains filtered or unexported fields
}

ASService is the Ruby wrapper around an activestorage.Service — a storage backend (concretely the built-in DiskService). It exposes the key-addressed contract ActiveStorage::Service defines.

func (*ASService) Inspect ¶

func (s *ASService) Inspect() string

func (*ASService) ToS ¶

func (s *ASService) ToS() string

func (*ASService) Truthy ¶

func (s *ASService) Truthy() bool

type AVPartialIter ¶

type AVPartialIter struct {
	// contains filtered or unexported fields
}

AVPartialIter is a Ruby ActionView::PartialIteration: the per-element iteration state a collection partial sees as its <name>_iteration local. It wraps the library's PartialIteration so #index / #size / #first? / #last? report the library's values.

func (*AVPartialIter) Inspect ¶

func (p *AVPartialIter) Inspect() string

Inspect matches ToS.

func (*AVPartialIter) ToS ¶

func (p *AVPartialIter) ToS() string

ToS renders the default object form; the iteration state has no string value.

func (*AVPartialIter) Truthy ¶

func (p *AVPartialIter) Truthy() bool

Truthy reports true.

type ActionMailerAttachments ¶

type ActionMailerAttachments struct {
	// contains filtered or unexported fields
}

ActionMailerAttachments is the mailer's `attachments` proxy (mirroring Mail::AttachmentsList): attachments[name] = data adds a regular attachment, attachments.inline[name] = data adds an inline one. It wraps the library *Attachments of the action's *Mailer; inline records which sub-proxy this is.

func (*ActionMailerAttachments) Inspect ¶

func (a *ActionMailerAttachments) Inspect() string

func (*ActionMailerAttachments) ToS ¶

func (*ActionMailerAttachments) Truthy ¶

func (a *ActionMailerAttachments) Truthy() bool

type ActionMailerDelivery ¶

type ActionMailerDelivery struct {
	// contains filtered or unexported fields
}

ActionMailerDelivery is the lazy delivery proxy `MyMailer.welcome(user)` returns — a Ruby ActionMailer::MessageDelivery wrapping the library *MessageDelivery — responding to deliver_now / deliver_later / message.

func (*ActionMailerDelivery) Inspect ¶

func (d *ActionMailerDelivery) Inspect() string

func (*ActionMailerDelivery) ToS ¶

func (d *ActionMailerDelivery) ToS() string

func (*ActionMailerDelivery) Truthy ¶

func (d *ActionMailerDelivery) Truthy() bool

type ActionViewBase ¶

type ActionViewBase struct {
	// contains filtered or unexported fields
}

ActionViewBase is a Ruby ActionView::Base instance: the view context carrying the request/routing/CSRF configuration and the two host seams (url_for and render_template). Its zero configuration mirrors a bare helper include with forgery protection off. A fresh actionview.Context is built per stateful call from these fields, so mutating the configuration between calls is honoured.

func (*ActionViewBase) Inspect ¶

func (b *ActionViewBase) Inspect() string

Inspect matches ToS.

func (*ActionViewBase) ToS ¶

func (b *ActionViewBase) ToS() string

ToS renders the default Object#to_s form; a view context has no meaningful string value of its own.

func (*ActionViewBase) Truthy ¶

func (b *ActionViewBase) Truthy() bool

Truthy reports true, as every ordinary object does.

type ActiveJobConfigured ¶

type ActiveJobConfigured struct {
	// contains filtered or unexported fields
}

ActiveJobConfigured is the object `MyJob.set(queue:, wait:, priority:)` returns — a job class plus a single-enqueue option set — responding to perform_later / perform_now, mirroring ActiveJob's ConfiguredJob.

func (*ActiveJobConfigured) Inspect ¶

func (c *ActiveJobConfigured) Inspect() string

func (*ActiveJobConfigured) ToS ¶

func (c *ActiveJobConfigured) ToS() string

func (*ActiveJobConfigured) Truthy ¶

func (c *ActiveJobConfigured) Truthy() bool

type ActiveRecordErrors ¶

type ActiveRecordErrors struct {
	// contains filtered or unexported fields
}

ActiveRecordErrors is the Ruby wrapper around a *activerecord.Errors — the ActiveModel::Errors shape a validation produces (#full_messages / #messages / #[] / #empty? / #count).

func (*ActiveRecordErrors) Inspect ¶

func (e *ActiveRecordErrors) Inspect() string

func (*ActiveRecordErrors) ToS ¶

func (e *ActiveRecordErrors) ToS() string

func (*ActiveRecordErrors) Truthy ¶

func (e *ActiveRecordErrors) Truthy() bool

type ActiveRecordModel ¶

type ActiveRecordModel struct {
	// contains filtered or unexported fields
}

ActiveRecordModel is the Ruby wrapper around a *activerecord.Model — a mapped model class (its table, columns, validations and associations). The query-building + schema-DDL + validations core lives in the github.com/go-ruby-activerecord/activerecord library, which renders SQL byte-faithful to ActiveRecord::Relation#to_sql. Actual database execution is a host seam wired here to go-ruby-sqlite3 (see activerecord_adapter.go), so a relation's #to_a / #count / #exists? / #pluck run against a real database once ActiveRecord::Base.establish_connection has opened one.

func (*ActiveRecordModel) Inspect ¶

func (m *ActiveRecordModel) Inspect() string

func (*ActiveRecordModel) ToS ¶

func (m *ActiveRecordModel) ToS() string

func (*ActiveRecordModel) Truthy ¶

func (m *ActiveRecordModel) Truthy() bool

type ActiveRecordModelBuilder ¶

type ActiveRecordModelBuilder struct {
	// contains filtered or unexported fields
}

ActiveRecordModelBuilder is the DSL self a `ActiveRecord::Model.new(name, table) { … }` block runs against: #column declares columns and the validates_* / belongs_to / has_many methods declare validations and associations.

func (*ActiveRecordModelBuilder) Inspect ¶

func (b *ActiveRecordModelBuilder) Inspect() string

func (*ActiveRecordModelBuilder) ToS ¶

func (*ActiveRecordModelBuilder) Truthy ¶

func (b *ActiveRecordModelBuilder) Truthy() bool

type ActiveRecordRecord ¶

type ActiveRecordRecord struct {
	// contains filtered or unexported fields
}

ActiveRecordRecord is the Ruby wrapper around a *activerecord.Record — a single model instance's attribute set with dirty tracking and validations.

func (*ActiveRecordRecord) Inspect ¶

func (r *ActiveRecordRecord) Inspect() string

func (*ActiveRecordRecord) ToS ¶

func (r *ActiveRecordRecord) ToS() string

func (*ActiveRecordRecord) Truthy ¶

func (r *ActiveRecordRecord) Truthy() bool

type ActiveRecordRelation ¶

type ActiveRecordRelation struct {
	// contains filtered or unexported fields
}

ActiveRecordRelation is the Ruby wrapper around a *activerecord.Relation — a lazy, chainable query (every refining method returns a new relation). #to_sql renders it; the execution methods run it through the connected adapter.

func (*ActiveRecordRelation) Inspect ¶

func (r *ActiveRecordRelation) Inspect() string

func (*ActiveRecordRelation) ToS ¶

func (r *ActiveRecordRelation) ToS() string

func (*ActiveRecordRelation) Truthy ¶

func (r *ActiveRecordRelation) Truthy() bool

type ActiveRecordSchemaDSL ¶

type ActiveRecordSchemaDSL struct{}

ActiveRecordSchemaDSL is the block self of ActiveRecord::Schema.define: a bare create_table / add_index / execute call inside the block dispatches to it.

func (*ActiveRecordSchemaDSL) Inspect ¶

func (d *ActiveRecordSchemaDSL) Inspect() string

func (*ActiveRecordSchemaDSL) ToS ¶

func (d *ActiveRecordSchemaDSL) ToS() string

func (*ActiveRecordSchemaDSL) Truthy ¶

func (d *ActiveRecordSchemaDSL) Truthy() bool

type ActiveRecordTableDSL ¶

type ActiveRecordTableDSL struct {
	// contains filtered or unexported fields
}

ActiveRecordTableDSL is the object yielded to a create_table block (`|t|`): its column-type methods accumulate a TableDef and its #index queues indexes.

func (*ActiveRecordTableDSL) Inspect ¶

func (t *ActiveRecordTableDSL) Inspect() string

func (*ActiveRecordTableDSL) ToS ¶

func (t *ActiveRecordTableDSL) ToS() string

func (*ActiveRecordTableDSL) Truthy ¶

func (t *ActiveRecordTableDSL) Truthy() bool

type AddressableTemplate ¶

type AddressableTemplate struct {
	// contains filtered or unexported fields
}

AddressableTemplate wraps a *addressable.Template as a Ruby Addressable::Template object.

func (*AddressableTemplate) Inspect ¶

func (t *AddressableTemplate) Inspect() string

func (*AddressableTemplate) ToS ¶

func (t *AddressableTemplate) ToS() string

func (*AddressableTemplate) Truthy ¶

func (t *AddressableTemplate) Truthy() bool

type AddressableURI ¶

type AddressableURI struct {
	// contains filtered or unexported fields
}

AddressableURI wraps a *addressable.URI as a Ruby Addressable::URI object. The RFC 3986 parsing, normalization and reference-resolution live in the github.com/go-ruby-addressable/addressable library; this shell only reports the Ruby class and delegates each method (see addressable_bind.go).

func (*AddressableURI) Inspect ¶

func (u *AddressableURI) Inspect() string

func (*AddressableURI) ToS ¶

func (u *AddressableURI) ToS() string

func (*AddressableURI) Truthy ¶

func (u *AddressableURI) Truthy() bool

type AgeScryptIdentity ¶

type AgeScryptIdentity struct {
	// contains filtered or unexported fields
}

AgeScryptIdentity is an instance of Age::Scrypt::Identity: a passphrase-based identity backed by a go-ruby-age *scrypt.Identity.

func (*AgeScryptIdentity) Inspect ¶

func (i *AgeScryptIdentity) Inspect() string

func (*AgeScryptIdentity) ToS ¶

func (i *AgeScryptIdentity) ToS() string

func (*AgeScryptIdentity) Truthy ¶

func (i *AgeScryptIdentity) Truthy() bool

type AgeScryptRecipient ¶

type AgeScryptRecipient struct {
	// contains filtered or unexported fields
}

AgeScryptRecipient is an instance of Age::Scrypt::Recipient: a passphrase-based recipient backed by a go-ruby-age *scrypt.Recipient. It must be the sole recipient of a message.

func (*AgeScryptRecipient) Inspect ¶

func (r *AgeScryptRecipient) Inspect() string

func (*AgeScryptRecipient) ToS ¶

func (r *AgeScryptRecipient) ToS() string

func (*AgeScryptRecipient) Truthy ¶

func (r *AgeScryptRecipient) Truthy() bool

type AgeX25519Identity ¶

type AgeX25519Identity struct {
	// contains filtered or unexported fields
}

AgeX25519Identity is an instance of Age::X25519::Identity: an X25519 key pair backed by a go-ruby-age *x25519.Identity. Its #to_s is the "AGE-SECRET-KEY-1…" secret key and #to_public yields the matching Age::X25519::Recipient.

func (*AgeX25519Identity) Inspect ¶

func (i *AgeX25519Identity) Inspect() string

Inspect renders the identity as a quoted secret-key String.

func (*AgeX25519Identity) ToS ¶

func (i *AgeX25519Identity) ToS() string

ToS renders the secret key, matching Age::X25519::Identity#to_s.

func (*AgeX25519Identity) Truthy ¶

func (i *AgeX25519Identity) Truthy() bool

type AgeX25519Recipient ¶

type AgeX25519Recipient struct {
	// contains filtered or unexported fields
}

AgeX25519Recipient is an instance of Age::X25519::Recipient: an X25519 public recipient backed by a go-ruby-age *x25519.Recipient. Its #to_s is the "age1…" recipient string.

func (*AgeX25519Recipient) Inspect ¶

func (r *AgeX25519Recipient) Inspect() string

Inspect renders the recipient as a quoted "age1…" String.

func (*AgeX25519Recipient) ToS ¶

func (r *AgeX25519Recipient) ToS() string

ToS renders the recipient, matching Age::X25519::Recipient#to_s.

func (*AgeX25519Recipient) Truthy ¶

func (r *AgeX25519Recipient) Truthy() bool

type ArrowArray ¶

type ArrowArray struct {
	// contains filtered or unexported fields
}

ArrowArray is the Ruby wrapper around a go-ruby-arrow Array (a typed column).

func (*ArrowArray) Inspect ¶

func (a *ArrowArray) Inspect() string

func (*ArrowArray) ToS ¶

func (a *ArrowArray) ToS() string

func (*ArrowArray) Truthy ¶

func (a *ArrowArray) Truthy() bool

type ArrowArrayBuilder ¶

type ArrowArrayBuilder struct {
	// contains filtered or unexported fields
}

ArrowArrayBuilder is the Ruby wrapper around a go-ruby-arrow ArrayBuilder.

func (*ArrowArrayBuilder) Inspect ¶

func (b *ArrowArrayBuilder) Inspect() string

func (*ArrowArrayBuilder) ToS ¶

func (b *ArrowArrayBuilder) ToS() string

func (*ArrowArrayBuilder) Truthy ¶

func (b *ArrowArrayBuilder) Truthy() bool

type ArrowDataType ¶

type ArrowDataType struct {
	// contains filtered or unexported fields
}

ArrowDataType is the Ruby wrapper around a go-ruby-arrow DataType.

func (*ArrowDataType) Inspect ¶

func (d *ArrowDataType) Inspect() string

func (*ArrowDataType) ToS ¶

func (d *ArrowDataType) ToS() string

func (*ArrowDataType) Truthy ¶

func (d *ArrowDataType) Truthy() bool

type ArrowField ¶

type ArrowField struct {
	// contains filtered or unexported fields
}

ArrowField is the Ruby wrapper around a go-ruby-arrow Field.

func (*ArrowField) Inspect ¶

func (f *ArrowField) Inspect() string

func (*ArrowField) ToS ¶

func (f *ArrowField) ToS() string

func (*ArrowField) Truthy ¶

func (f *ArrowField) Truthy() bool

type ArrowRecordBatch ¶

type ArrowRecordBatch struct {
	// contains filtered or unexported fields
}

ArrowRecordBatch is the Ruby wrapper around a go-ruby-arrow RecordBatch.

func (*ArrowRecordBatch) Inspect ¶

func (r *ArrowRecordBatch) Inspect() string

func (*ArrowRecordBatch) ToS ¶

func (r *ArrowRecordBatch) ToS() string

func (*ArrowRecordBatch) Truthy ¶

func (r *ArrowRecordBatch) Truthy() bool

type ArrowSchema ¶

type ArrowSchema struct {
	// contains filtered or unexported fields
}

ArrowSchema is the Ruby wrapper around a go-ruby-arrow Schema.

func (*ArrowSchema) Inspect ¶

func (s *ArrowSchema) Inspect() string

func (*ArrowSchema) ToS ¶

func (s *ArrowSchema) ToS() string

func (*ArrowSchema) Truthy ¶

func (s *ArrowSchema) Truthy() bool

type ArrowTable ¶

type ArrowTable struct {
	// contains filtered or unexported fields
}

ArrowTable is the Ruby wrapper around a go-ruby-arrow Table.

func (*ArrowTable) Inspect ¶

func (t *ArrowTable) Inspect() string

func (*ArrowTable) ToS ¶

func (t *ArrowTable) ToS() string

func (*ArrowTable) Truthy ¶

func (t *ArrowTable) Truthy() bool

type AsyncBarrier ¶

type AsyncBarrier struct {
	// contains filtered or unexported fields
}

AsyncBarrier wraps a *async.Barrier (Async::Barrier).

func (*AsyncBarrier) Inspect ¶

func (b *AsyncBarrier) Inspect() string

func (*AsyncBarrier) ToS ¶

func (b *AsyncBarrier) ToS() string

func (*AsyncBarrier) Truthy ¶

func (b *AsyncBarrier) Truthy() bool

type AsyncCondition ¶

type AsyncCondition struct {
	// contains filtered or unexported fields
}

AsyncCondition wraps a *async.Condition (Async::Condition).

func (*AsyncCondition) Inspect ¶

func (c *AsyncCondition) Inspect() string

func (*AsyncCondition) ToS ¶

func (c *AsyncCondition) ToS() string

func (*AsyncCondition) Truthy ¶

func (c *AsyncCondition) Truthy() bool

type AsyncLimitedQueue ¶

type AsyncLimitedQueue struct {
	// contains filtered or unexported fields
}

AsyncLimitedQueue wraps a *async.LimitedQueue (Async::LimitedQueue).

func (*AsyncLimitedQueue) Inspect ¶

func (q *AsyncLimitedQueue) Inspect() string

func (*AsyncLimitedQueue) ToS ¶

func (q *AsyncLimitedQueue) ToS() string

func (*AsyncLimitedQueue) Truthy ¶

func (q *AsyncLimitedQueue) Truthy() bool

type AsyncNotification ¶

type AsyncNotification struct {
	// contains filtered or unexported fields
}

AsyncNotification wraps a *async.Notification (Async::Notification).

func (*AsyncNotification) Inspect ¶

func (n *AsyncNotification) Inspect() string

func (*AsyncNotification) ToS ¶

func (n *AsyncNotification) ToS() string

func (*AsyncNotification) Truthy ¶

func (n *AsyncNotification) Truthy() bool

type AsyncQueue ¶

type AsyncQueue struct {
	// contains filtered or unexported fields
}

AsyncQueue wraps a *async.Queue (Async::Queue).

func (*AsyncQueue) Inspect ¶

func (q *AsyncQueue) Inspect() string

func (*AsyncQueue) ToS ¶

func (q *AsyncQueue) ToS() string

func (*AsyncQueue) Truthy ¶

func (q *AsyncQueue) Truthy() bool

type AsyncSemaphore ¶

type AsyncSemaphore struct {
	// contains filtered or unexported fields
}

AsyncSemaphore wraps a *async.Semaphore (Async::Semaphore).

func (*AsyncSemaphore) Inspect ¶

func (s *AsyncSemaphore) Inspect() string

func (*AsyncSemaphore) ToS ¶

func (s *AsyncSemaphore) ToS() string

func (*AsyncSemaphore) Truthy ¶

func (s *AsyncSemaphore) Truthy() bool

type AsyncTask ¶

type AsyncTask struct {
	// contains filtered or unexported fields
}

AsyncTask wraps a *async.Task — one node of the structured-concurrency tree (Async::Task). It carries its own class so classOf reports Async::Task.

func (*AsyncTask) Inspect ¶

func (t *AsyncTask) Inspect() string

func (*AsyncTask) ToS ¶

func (t *AsyncTask) ToS() string

func (*AsyncTask) Truthy ¶

func (t *AsyncTask) Truthy() bool

type AsyncWaiter ¶

type AsyncWaiter struct {
	// contains filtered or unexported fields
}

AsyncWaiter wraps a *async.Waiter (Async::Waiter).

func (*AsyncWaiter) Inspect ¶

func (w *AsyncWaiter) Inspect() string

func (*AsyncWaiter) ToS ¶

func (w *AsyncWaiter) ToS() string

func (*AsyncWaiter) Truthy ¶

func (w *AsyncWaiter) Truthy() bool

type AugeasObj ¶

type AugeasObj struct {
	// contains filtered or unexported fields
}

AugeasObj is a Ruby Augeas instance: one go-ruby-augeas handle over an engine tree.

func (*AugeasObj) Inspect ¶

func (o *AugeasObj) Inspect() string

func (*AugeasObj) ToS ¶

func (o *AugeasObj) ToS() string

func (*AugeasObj) Truthy ¶

func (o *AugeasObj) Truthy() bool

type BCryptPassword ¶

type BCryptPassword struct {
	// contains filtered or unexported fields
}

BCryptPassword is an instance of BCrypt::Password (which subclasses String in the gem): a parsed "$2a$NN$...." hash backed by a go-ruby-bcrypt *Password. Its readers expose the parsed fields (cost / salt / version / checksum) and its #== compares a candidate secret against the stored hash in constant time.

func (*BCryptPassword) Inspect ¶

func (p *BCryptPassword) Inspect() string

Inspect renders the stored hash as its Ruby inspect form (a quoted String, as the gem's Password inherits String#inspect).

func (*BCryptPassword) ToS ¶

func (p *BCryptPassword) ToS() string

ToS renders the stored hash, matching BCrypt::Password#to_s (a String subclass).

func (*BCryptPassword) Truthy ¶

func (p *BCryptPassword) Truthy() bool

type Bag ¶

type Bag struct {
	// contains filtered or unexported fields
}

Bag is the Ruby wrapper around a go-composites Bag.

func (*Bag) Inspect ¶

func (b *Bag) Inspect() string

func (*Bag) ToS ¶

func (b *Bag) ToS() string

func (*Bag) Truthy ¶

func (b *Bag) Truthy() bool

type BigDecimal ¶

type BigDecimal struct {
	// contains filtered or unexported fields
}

BigDecimal is the Ruby wrapper around a *bigdecimal.Decimal.

func (*BigDecimal) Inspect ¶

func (b *BigDecimal) Inspect() string

func (*BigDecimal) ToS ¶

func (b *BigDecimal) ToS() string

func (*BigDecimal) Truthy ¶

func (b *BigDecimal) Truthy() bool

type Binding ¶

type Binding struct {
	// contains filtered or unexported fields
}

Binding captures a frame's local-variable environment, self and definee, so code can be eval'd against it later (Binding#eval, eval(str, binding)) and its locals inspected/mutated. names maps slot index → local name (a mutable copy, so local_variable_set can add a binding-only local without touching the ISeq).

func (*Binding) Inspect ¶

func (b *Binding) Inspect() string

func (*Binding) ToS ¶

func (b *Binding) ToS() string

func (*Binding) Truthy ¶

func (b *Binding) Truthy() bool

type BleveBatch ¶

type BleveBatch struct {
	// contains filtered or unexported fields
}

BleveBatch is the Ruby wrapper around a go-ruby-bleve Batch, yielded to the block of Bleve::Index#batch.

func (*BleveBatch) Inspect ¶

func (b *BleveBatch) Inspect() string

func (*BleveBatch) ToS ¶

func (b *BleveBatch) ToS() string

func (*BleveBatch) Truthy ¶

func (b *BleveBatch) Truthy() bool

type BleveFacet ¶

type BleveFacet struct {
	// contains filtered or unexported fields
}

BleveFacet is the Ruby wrapper around a go-ruby-bleve Facet request.

func (*BleveFacet) Inspect ¶

func (f *BleveFacet) Inspect() string

func (*BleveFacet) ToS ¶

func (f *BleveFacet) ToS() string

func (*BleveFacet) Truthy ¶

func (f *BleveFacet) Truthy() bool

type BleveHit ¶

type BleveHit struct {
	// contains filtered or unexported fields
}

BleveHit is the Ruby wrapper around a single go-ruby-bleve Hit.

func (*BleveHit) Inspect ¶

func (h *BleveHit) Inspect() string

func (*BleveHit) ToS ¶

func (h *BleveHit) ToS() string

func (*BleveHit) Truthy ¶

func (h *BleveHit) Truthy() bool

type BleveIndex ¶

type BleveIndex struct {
	// contains filtered or unexported fields
}

BleveIndex is the Ruby wrapper around a go-ruby-bleve Index.

func (*BleveIndex) Inspect ¶

func (i *BleveIndex) Inspect() string

func (*BleveIndex) ToS ¶

func (i *BleveIndex) ToS() string

func (*BleveIndex) Truthy ¶

func (i *BleveIndex) Truthy() bool

type BleveMapping ¶

type BleveMapping struct {
	// contains filtered or unexported fields
}

BleveMapping is the Ruby wrapper around a go-ruby-bleve Mapping.

func (*BleveMapping) Inspect ¶

func (m *BleveMapping) Inspect() string

func (*BleveMapping) ToS ¶

func (m *BleveMapping) ToS() string

func (*BleveMapping) Truthy ¶

func (m *BleveMapping) Truthy() bool

type BleveQuery ¶

type BleveQuery struct {
	// contains filtered or unexported fields
}

BleveQuery is the Ruby wrapper around a go-ruby-bleve Query.

func (*BleveQuery) Inspect ¶

func (q *BleveQuery) Inspect() string

func (*BleveQuery) ToS ¶

func (q *BleveQuery) ToS() string

func (*BleveQuery) Truthy ¶

func (q *BleveQuery) Truthy() bool

type BleveSearchResult ¶

type BleveSearchResult struct {
	// contains filtered or unexported fields
}

BleveSearchResult is the Ruby wrapper around a go-ruby-bleve SearchResult.

func (*BleveSearchResult) Inspect ¶

func (r *BleveSearchResult) Inspect() string

func (*BleveSearchResult) ToS ¶

func (r *BleveSearchResult) ToS() string

func (*BleveSearchResult) Truthy ¶

func (r *BleveSearchResult) Truthy() bool

type BoltBucket ¶

type BoltBucket struct {
	// contains filtered or unexported fields
}

BoltBucket is an instance of Bolt::Bucket: a named, ordered collection of key/value pairs backed by a go-ruby-bbolt *bbolt.Bucket, which may also hold nested sub-buckets.

func (*BoltBucket) Inspect ¶

func (b *BoltBucket) Inspect() string

func (*BoltBucket) ToS ¶

func (b *BoltBucket) ToS() string

func (*BoltBucket) Truthy ¶

func (b *BoltBucket) Truthy() bool

type BoltCursor ¶

type BoltCursor struct {
	// contains filtered or unexported fields
}

BoltCursor is an instance of Bolt::Cursor: a cursor over a bucket's keys in byte order, backed by a go-ruby-bbolt *bbolt.Cursor.

func (*BoltCursor) Inspect ¶

func (c *BoltCursor) Inspect() string

func (*BoltCursor) ToS ¶

func (c *BoltCursor) ToS() string

func (*BoltCursor) Truthy ¶

func (c *BoltCursor) Truthy() bool

type BoltDB ¶

type BoltDB struct {
	// contains filtered or unexported fields
}

BoltDB is an instance of Bolt::DB: an open, memory-mapped Bolt database backed by a go-ruby-bbolt *bbolt.DB. It hands out read-write (#update) and read-only (#view) block transactions and explicit ones (#begin).

func (*BoltDB) Inspect ¶

func (d *BoltDB) Inspect() string

func (*BoltDB) ToS ¶

func (d *BoltDB) ToS() string

func (*BoltDB) Truthy ¶

func (d *BoltDB) Truthy() bool

type BoltTx ¶

type BoltTx struct {
	// contains filtered or unexported fields
}

BoltTx is an instance of Bolt::Tx: a Bolt transaction backed by a go-ruby-bbolt *bbolt.Tx. A writable transaction may create, delete and mutate buckets; a read-only one may only read. A Tx yielded to an #update / #view block is only valid for the duration of that block.

func (*BoltTx) Inspect ¶

func (t *BoltTx) Inspect() string

func (*BoltTx) ToS ¶

func (t *BoltTx) ToS() string

func (*BoltTx) Truthy ¶

func (t *BoltTx) Truthy() bool

type BoundMethod ¶

type BoundMethod struct {
	// contains filtered or unexported fields
}

BoundMethod is a Method object: a callable bound to a receiver, produced by Object#method(:name).

func (*BoundMethod) Inspect ¶

func (b *BoundMethod) Inspect() string

func (*BoundMethod) ToS ¶

func (b *BoundMethod) ToS() string

every Method created by define / OpDefineMethod / define_(singleton_)method carries a non-nil owner, so b.m.owner is always set.

func (*BoundMethod) Truthy ¶

func (b *BoundMethod) Truthy() bool

type BundlerDependency ¶

type BundlerDependency struct {
	// contains filtered or unexported fields
}

BundlerDependency wraps a *bundler.Dependency (Bundler::Dependency): a gem name plus a requirement, the bundler groups and platforms it applies to. It backs both the top-level Gemfile/lockfile dependencies and — reconstructed from a SpecDependency — a spec's own runtime dependency edges.

func (*BundlerDependency) Inspect ¶

func (v *BundlerDependency) Inspect() string

func (*BundlerDependency) ToS ¶

func (v *BundlerDependency) ToS() string

func (*BundlerDependency) Truthy ¶

func (v *BundlerDependency) Truthy() bool

type BundlerGemfile ¶

type BundlerGemfile struct {
	// contains filtered or unexported fields
}

BundlerGemfile wraps a parsed *bundler.Gemfile (Bundler::Dsl): the sources, ruby version and declared dependencies read from the canonical DSL forms.

func (*BundlerGemfile) Inspect ¶

func (v *BundlerGemfile) Inspect() string

func (*BundlerGemfile) ToS ¶

func (v *BundlerGemfile) ToS() string

func (*BundlerGemfile) Truthy ¶

func (v *BundlerGemfile) Truthy() bool

type BundlerIndex ¶

type BundlerIndex struct {
	// contains filtered or unexported fields
}

BundlerIndex wraps a mutable bundler.MapIndex (Bundler::Index): the in-memory resolution index the host fills with gem versions and feeds to Bundler.resolve (the network-backed index is a host seam).

func (*BundlerIndex) Inspect ¶

func (v *BundlerIndex) Inspect() string

func (*BundlerIndex) ToS ¶

func (v *BundlerIndex) ToS() string

func (*BundlerIndex) Truthy ¶

func (v *BundlerIndex) Truthy() bool

type BundlerLockfile ¶

type BundlerLockfile struct {
	// contains filtered or unexported fields
}

BundlerLockfile wraps a parsed *bundler.Lockfile (Bundler::LockfileParser): its source sections' specs, platforms, dependencies, ruby version and bundler version, plus the byte-exact re-emission via #to_lock.

func (*BundlerLockfile) Inspect ¶

func (v *BundlerLockfile) Inspect() string

func (*BundlerLockfile) ToS ¶

func (v *BundlerLockfile) ToS() string

func (*BundlerLockfile) Truthy ¶

func (v *BundlerLockfile) Truthy() bool

type BundlerSpec ¶

type BundlerSpec struct {
	// contains filtered or unexported fields
}

BundlerSpec wraps a resolved *bundler.Spec (Bundler::LazySpecification): a name, version, platform and the spec's own runtime dependencies.

func (*BundlerSpec) Inspect ¶

func (v *BundlerSpec) Inspect() string

func (*BundlerSpec) ToS ¶

func (v *BundlerSpec) ToS() string

func (*BundlerSpec) Truthy ¶

func (v *BundlerSpec) Truthy() bool

type CSVRow ¶

type CSVRow struct {
	// contains filtered or unexported fields
}

CSVRow is the Ruby wrapper around a *csv.Row — CSV::Row. It offers access by header name or by index (Field / At) plus to_a / to_h / [] / headers, all delegating to the library. classOf reports CSV::Row for it.

func (*CSVRow) Inspect ¶

func (r *CSVRow) Inspect() string

func (*CSVRow) ToS ¶

func (r *CSVRow) ToS() string

func (*CSVRow) Truthy ¶

func (r *CSVRow) Truthy() bool

type CSVTable ¶

type CSVTable struct {
	// contains filtered or unexported fields
}

CSVTable is the Ruby wrapper around a *csv.Table — CSV::Table: a header row plus its data Rows, with Row(i) / ToArray and by-name/index access.

func (*CSVTable) Inspect ¶

func (t *CSVTable) Inspect() string

func (*CSVTable) ToS ¶

func (t *CSVTable) ToS() string

func (*CSVTable) Truthy ¶

func (t *CSVTable) Truthy() bool

type CapBackendVal ¶

type CapBackendVal struct {
	// contains filtered or unexported fields
}

CapBackendVal wraps the per-VM *capistrano.FakeBackend — the recording command backend (Capistrano::TestBackend), exposed so Ruby can script command output and inspect the recorded command log.

func (*CapBackendVal) Inspect ¶

func (v *CapBackendVal) Inspect() string

func (*CapBackendVal) ToS ¶

func (v *CapBackendVal) ToS() string

func (*CapBackendVal) Truthy ¶

func (v *CapBackendVal) Truthy() bool

type CapServerVal ¶

type CapServerVal struct {
	// contains filtered or unexported fields
}

CapServerVal wraps a *capistrano.Server — a single deploy target (Capistrano::Server).

func (*CapServerVal) Inspect ¶

func (v *CapServerVal) Inspect() string

func (*CapServerVal) ToS ¶

func (v *CapServerVal) ToS() string

func (*CapServerVal) Truthy ¶

func (v *CapServerVal) Truthy() bool

type CapSessionVal ¶

type CapSessionVal struct {
	// contains filtered or unexported fields
}

CapSessionVal wraps a *capistrano.Session — the per-host execution context yielded to an on-block (Capistrano::Session).

func (*CapSessionVal) Inspect ¶

func (v *CapSessionVal) Inspect() string

func (*CapSessionVal) ToS ¶

func (v *CapSessionVal) ToS() string

func (*CapSessionVal) Truthy ¶

func (v *CapSessionVal) Truthy() bool

type CapTaskVal ¶

type CapTaskVal struct {
	// contains filtered or unexported fields
}

CapTaskVal wraps a *capistrano.Task — one node in the task graph (Capistrano::Task).

func (*CapTaskVal) Inspect ¶

func (v *CapTaskVal) Inspect() string

func (*CapTaskVal) ToS ¶

func (v *CapTaskVal) ToS() string

func (*CapTaskVal) Truthy ¶

func (v *CapTaskVal) Truthy() bool

type CapybaraNode ¶

type CapybaraNode struct {
	// contains filtered or unexported fields
}

CapybaraNode is the Ruby wrapper around a *capybara.Node — a single element in the current document (Capybara::Node::Element). Interactions on it (click/set/…) issue new requests through its owning Session. The wrapper carries its own class so classOf reports Capybara::Node::Element.

func (*CapybaraNode) Inspect ¶

func (n *CapybaraNode) Inspect() string

func (*CapybaraNode) ToS ¶

func (n *CapybaraNode) ToS() string

func (*CapybaraNode) Truthy ¶

func (n *CapybaraNode) Truthy() bool

type CapybaraSession ¶

type CapybaraSession struct {
	// contains filtered or unexported fields
}

CapybaraSession is the Ruby wrapper around a *capybara.Session — the acceptance -test driver (Capybara::Session with the default :rack_test driver). The HTML parsing, selector engine, form handling and redirect following all live in github.com/go-ruby-capybara/capybara; this shell exposes the navigation / form / matcher surface to Ruby and wires the App seam to a real Ruby Rack app (see capybara_bind.go). The wrapper carries its own class so classOf reports Capybara::Session.

func (*CapybaraSession) Inspect ¶

func (s *CapybaraSession) Inspect() string

func (*CapybaraSession) ToS ¶

func (s *CapybaraSession) ToS() string

func (*CapybaraSession) Truthy ¶

func (s *CapybaraSession) Truthy() bool

type CompiledMain ¶

type CompiledMain func(vm *VM) object.Value

CompiledMain is the signature the AOT-emitted top-level body has (the program runs against the VM's own `main` self, so no self/args are threaded in).

type CompiledMethod ¶

type CompiledMethod func(vm *VM, self object.Value, args []object.Value, blk *Proc) object.Value

CompiledMethod is the signature every AOT-emitted method body has: it mirrors `func (vm *VM) name(self object.Value, args []object.Value, block *Proc) object.Value`, taken as an unbound method value.

type ConcurrentAtomicBool ¶

type ConcurrentAtomicBool struct {
	// contains filtered or unexported fields
}

ConcurrentAtomicBool wraps a Concurrent::AtomicBoolean.

func (*ConcurrentAtomicBool) Inspect ¶

func (o *ConcurrentAtomicBool) Inspect() string

func (*ConcurrentAtomicBool) ToS ¶

func (o *ConcurrentAtomicBool) ToS() string

func (*ConcurrentAtomicBool) Truthy ¶

func (o *ConcurrentAtomicBool) Truthy() bool

type ConcurrentAtomicFixnum ¶

type ConcurrentAtomicFixnum struct {
	// contains filtered or unexported fields
}

ConcurrentAtomicFixnum wraps a Concurrent::AtomicFixnum.

func (*ConcurrentAtomicFixnum) Inspect ¶

func (o *ConcurrentAtomicFixnum) Inspect() string

func (*ConcurrentAtomicFixnum) ToS ¶

func (o *ConcurrentAtomicFixnum) ToS() string

func (*ConcurrentAtomicFixnum) Truthy ¶

func (o *ConcurrentAtomicFixnum) Truthy() bool

type ConcurrentAtomicRef ¶

type ConcurrentAtomicRef struct {
	// contains filtered or unexported fields
}

ConcurrentAtomicRef wraps a Concurrent::AtomicReference.

func (*ConcurrentAtomicRef) Inspect ¶

func (o *ConcurrentAtomicRef) Inspect() string

func (*ConcurrentAtomicRef) ToS ¶

func (o *ConcurrentAtomicRef) ToS() string

func (*ConcurrentAtomicRef) Truthy ¶

func (o *ConcurrentAtomicRef) Truthy() bool

type ConcurrentBarrier ¶

type ConcurrentBarrier struct {
	// contains filtered or unexported fields
}

ConcurrentBarrier wraps a Concurrent::CyclicBarrier.

func (*ConcurrentBarrier) Inspect ¶

func (o *ConcurrentBarrier) Inspect() string

func (*ConcurrentBarrier) ToS ¶

func (o *ConcurrentBarrier) ToS() string

func (*ConcurrentBarrier) Truthy ¶

func (o *ConcurrentBarrier) Truthy() bool

type ConcurrentFuture ¶

type ConcurrentFuture struct {
	// contains filtered or unexported fields
}

ConcurrentFuture wraps a Concurrent::Future.

func (*ConcurrentFuture) Inspect ¶

func (o *ConcurrentFuture) Inspect() string

func (*ConcurrentFuture) ToS ¶

func (o *ConcurrentFuture) ToS() string

func (*ConcurrentFuture) Truthy ¶

func (o *ConcurrentFuture) Truthy() bool

type ConcurrentLatch ¶

type ConcurrentLatch struct {
	// contains filtered or unexported fields
}

ConcurrentLatch wraps a Concurrent::CountDownLatch.

func (*ConcurrentLatch) Inspect ¶

func (o *ConcurrentLatch) Inspect() string

func (*ConcurrentLatch) ToS ¶

func (o *ConcurrentLatch) ToS() string

func (*ConcurrentLatch) Truthy ¶

func (o *ConcurrentLatch) Truthy() bool

type ConcurrentMap ¶

type ConcurrentMap struct {
	// contains filtered or unexported fields
}

ConcurrentMap wraps a Concurrent::Map. Keys are canonicalized through setKey (the very hash/eql? mapping the Set binding uses), so two equal Ruby strings address the same slot; the original key is recovered from the stored entry.

func (*ConcurrentMap) Inspect ¶

func (o *ConcurrentMap) Inspect() string

func (*ConcurrentMap) ToS ¶

func (o *ConcurrentMap) ToS() string

func (*ConcurrentMap) Truthy ¶

func (o *ConcurrentMap) Truthy() bool

type ConcurrentPool ¶

type ConcurrentPool struct {
	// contains filtered or unexported fields
}

ConcurrentPool wraps a Concurrent::FixedThreadPool / ThreadPoolExecutor. Posted blocks run inline through the vmExecutor seam (serialized on the VM goroutine), so the pool spawns no worker goroutine; it tracks the shutdown flag and the completed-task count itself.

func (*ConcurrentPool) Inspect ¶

func (o *ConcurrentPool) Inspect() string

func (*ConcurrentPool) ToS ¶

func (o *ConcurrentPool) ToS() string

func (*ConcurrentPool) Truthy ¶

func (o *ConcurrentPool) Truthy() bool

type ConcurrentPromise ¶

type ConcurrentPromise struct {
	// contains filtered or unexported fields
}

ConcurrentPromise wraps a Concurrent::Promise.

func (*ConcurrentPromise) Inspect ¶

func (o *ConcurrentPromise) Inspect() string

func (*ConcurrentPromise) ToS ¶

func (o *ConcurrentPromise) ToS() string

func (*ConcurrentPromise) Truthy ¶

func (o *ConcurrentPromise) Truthy() bool

type ConcurrentSemaphore ¶

type ConcurrentSemaphore struct {
	// contains filtered or unexported fields
}

ConcurrentSemaphore wraps a Concurrent::Semaphore.

func (*ConcurrentSemaphore) Inspect ¶

func (o *ConcurrentSemaphore) Inspect() string

func (*ConcurrentSemaphore) ToS ¶

func (o *ConcurrentSemaphore) ToS() string

func (*ConcurrentSemaphore) Truthy ¶

func (o *ConcurrentSemaphore) Truthy() bool

type Country ¶

type Country struct {
	// contains filtered or unexported fields
}

Country wraps a *tzinfo.Country as a Ruby TZInfo::Country.

func (*Country) Inspect ¶

func (c *Country) Inspect() string

func (*Country) ToS ¶

func (c *Country) ToS() string

func (*Country) Truthy ¶

func (c *Country) Truthy() bool

type Currency ¶

type Currency struct {
	// contains filtered or unexported fields
}

Currency wraps a *money.Currency as a Ruby Money::Currency object.

func (*Currency) Inspect ¶

func (c *Currency) Inspect() string

func (*Currency) ToS ¶

func (c *Currency) ToS() string

func (*Currency) Truthy ¶

func (c *Currency) Truthy() bool

type Date ¶

type Date struct {
	// contains filtered or unexported fields
}

Date is the Ruby wrapper around a *date.Date. The same wrapper backs both Ruby Date and DateTime; classOf dispatches on d.IsDateTime() so a DateTime value reports the DateTime class (a subclass of Date) and renders its wall clock.

func (*Date) Inspect ¶

func (d *Date) Inspect() string

func (*Date) ToS ¶

func (d *Date) ToS() string

func (*Date) Truthy ¶

func (d *Date) Truthy() bool

type DeviseConfig ¶

type DeviseConfig struct {
	// contains filtered or unexported fields
}

DeviseConfig is the Ruby wrapper around a *devise.Config — the per-resource Devise settings (stretches, pepper, the lock/remember/confirm/timeout windows, the authentication keys) plus the injectable seams a pure-Go core needs. The Ruby finder and notification callbacks are held here as Procs; the library's Finder / SendResetPasswordInstructions / SendConfirmationInstructions / SendUnlockInstructions hooks are wired to closures over this wrapper so a Ruby-level callable drives them.

func (*DeviseConfig) Inspect ¶

func (c *DeviseConfig) Inspect() string

func (*DeviseConfig) ToS ¶

func (c *DeviseConfig) ToS() string

func (*DeviseConfig) Truthy ¶

func (c *DeviseConfig) Truthy() bool

type DeviseResource ¶

type DeviseResource struct {
	// contains filtered or unexported fields
}

DeviseResource is the Ruby wrapper around a *devise.Record — a model bound to the config that governs it, the object every Devise module method hangs off (valid_password?, remember_me!, confirm, lock_access!, update_tracked_fields!, timedout?, …). It is the rbgo equivalent of an ActiveRecord instance whose self.class carries the Devise settings.

func (*DeviseResource) Inspect ¶

func (r *DeviseResource) Inspect() string

func (*DeviseResource) ToS ¶

func (r *DeviseResource) ToS() string

func (*DeviseResource) Truthy ¶

func (r *DeviseResource) Truthy() bool

type DeviseTokenGenerator ¶

type DeviseTokenGenerator struct {
	// contains filtered or unexported fields
}

DeviseTokenGenerator is the Ruby wrapper around a *devise.TokenGenerator — the HMAC-SHA256 token minter/digester Recoverable and Confirmable persist through.

func (*DeviseTokenGenerator) Inspect ¶

func (g *DeviseTokenGenerator) Inspect() string

func (*DeviseTokenGenerator) ToS ¶

func (g *DeviseTokenGenerator) ToS() string

func (*DeviseTokenGenerator) Truthy ¶

func (g *DeviseTokenGenerator) Truthy() bool

type DigestObj ¶

type DigestObj struct {
	// contains filtered or unexported fields
}

DigestObj is an instance of a Digest algorithm class (Digest::SHA256.new): an incremental hasher accumulating input through #update / #<< and yielding its result with #hexdigest / #digest, backed by a go-ruby-digest Digest. Puppet's checksum_stream feeds file content through one of these before reading the hex digest.

func (*DigestObj) Inspect ¶

func (d *DigestObj) Inspect() string

Inspect renders MRI's Digest::Instance#inspect form, #<Digest::ALGO: hex>.

func (*DigestObj) ToS ¶

func (d *DigestObj) ToS() string

ToS renders the running digest in hex, matching MRI's Digest::Instance#to_s.

func (*DigestObj) Truthy ¶

func (d *DigestObj) Truthy() bool

type DryContract ¶

type DryContract struct {
	// contains filtered or unexported fields
}

DryContract wraps a Dry::Validation::Contract subclass instance: its schema and the custom rule bodies (each a compiled Ruby block run as a RuleContext seam).

func (*DryContract) Inspect ¶

func (c *DryContract) Inspect() string

func (*DryContract) ToS ¶

func (c *DryContract) ToS() string

func (*DryContract) Truthy ¶

func (c *DryContract) Truthy() bool

type DryKey ¶

type DryKey struct {
	// contains filtered or unexported fields
}

DryKey is the macro attachment point required(...)/optional(...) returns.

func (*DryKey) Inspect ¶

func (k *DryKey) Inspect() string

func (*DryKey) ToS ¶

func (k *DryKey) ToS() string

func (*DryKey) Truthy ¶

func (k *DryKey) Truthy() bool

type DryResult ¶

type DryResult struct {
	// contains filtered or unexported fields
}

DryResult wraps a drytypes.Result as a Ruby Dry::Types::Result object, the value #try returns (#success? / #failure? / #input / #error).

func (*DryResult) Inspect ¶

func (r *DryResult) Inspect() string

func (*DryResult) ToS ¶

func (r *DryResult) ToS() string

func (*DryResult) Truthy ¶

func (r *DryResult) Truthy() bool

type DryRuleCtx ¶

type DryRuleCtx struct {
	// contains filtered or unexported fields
}

DryRuleCtx is the self a Dry::Validation contract rule body runs against. It wraps the library's *RuleContext seam: value(:key) reads a coerced value, and key(:key).failure(text) / base.failure(text) records a failure. The library evaluates the schema; this shell only lets the Ruby rule inspect values and register failures.

func (*DryRuleCtx) Inspect ¶

func (c *DryRuleCtx) Inspect() string

func (*DryRuleCtx) ToS ¶

func (c *DryRuleCtx) ToS() string

func (*DryRuleCtx) Truthy ¶

func (c *DryRuleCtx) Truthy() bool

type DryRuleKey ¶

type DryRuleKey struct {
	// contains filtered or unexported fields
}

DryRuleKey is the target key(:name).failure(text) records against. base is set for the base(...) target; when path is nil and base is false the target is the rule's own default key path (the no-argument key.failure form).

func (*DryRuleKey) Inspect ¶

func (k *DryRuleKey) Inspect() string

func (*DryRuleKey) ToS ¶

func (k *DryRuleKey) ToS() string

func (*DryRuleKey) Truthy ¶

func (k *DryRuleKey) Truthy() bool

type DrySchema ¶

type DrySchema struct {
	// contains filtered or unexported fields
}

DrySchema wraps a *dryvalidation.Schema built by Dry::Schema.Params/JSON. The schema's key macros, type coercion and predicate evaluation live in the github.com/go-ruby-dry-validation/dry-validation library; rbgo runs the schema DSL block against a builder shell and applies the schema to an input hash.

func (*DrySchema) Inspect ¶

func (s *DrySchema) Inspect() string

func (*DrySchema) ToS ¶

func (s *DrySchema) ToS() string

func (*DrySchema) Truthy ¶

func (s *DrySchema) Truthy() bool

type DrySchemaBuilder ¶

type DrySchemaBuilder struct {
	// contains filtered or unexported fields
}

DrySchemaBuilder is the DSL self a schema block runs against; its required / optional methods return a DryKey to attach a value macro.

func (*DrySchemaBuilder) Inspect ¶

func (b *DrySchemaBuilder) Inspect() string

func (*DrySchemaBuilder) ToS ¶

func (b *DrySchemaBuilder) ToS() string

func (*DrySchemaBuilder) Truthy ¶

func (b *DrySchemaBuilder) Truthy() bool

type DryStruct ¶

type DryStruct struct {
	// contains filtered or unexported fields
}

DryStruct wraps a *drystruct.Struct as an instance of a user's Dry::Struct subclass. The attribute schema, coercion and immutable value semantics live in the github.com/go-ruby-dry-struct/dry-struct library; this shell reports the owning Ruby subclass (via classOf) so the generated readers and shared instance methods dispatch, and delegates to the wrapped Struct (see drystruct_bind.go).

func (*DryStruct) Inspect ¶

func (s *DryStruct) Inspect() string

func (*DryStruct) ToS ¶

func (s *DryStruct) ToS() string

func (*DryStruct) Truthy ¶

func (s *DryStruct) Truthy() bool

type DryType ¶

type DryType struct {
	// contains filtered or unexported fields
}

DryType wraps a drytypes.Type as a Ruby Dry::Types::Type object. The coercion, validation and combinator composition live in the github.com/go-ruby-dry-types/dry-types library — the pure-Go core that backs the `dry-types` gem — and this shell only reports the Ruby class (via classOf) and delegates .call / [] / .valid? / .try and the combinators to the wrapped Type (see drytypes_bind.go).

func (*DryType) Inspect ¶

func (t *DryType) Inspect() string

func (*DryType) ToS ¶

func (t *DryType) ToS() string

func (*DryType) Truthy ¶

func (t *DryType) Truthy() bool

type DryValidationResult ¶

type DryValidationResult struct {
	// contains filtered or unexported fields
}

DryValidationResult wraps a *dryvalidation.Result (#success? / #errors / #to_h).

func (*DryValidationResult) Inspect ¶

func (r *DryValidationResult) Inspect() string

func (*DryValidationResult) ToS ¶

func (r *DryValidationResult) ToS() string

func (*DryValidationResult) Truthy ¶

func (r *DryValidationResult) Truthy() bool

type EngineVal ¶

type EngineVal struct {
	// contains filtered or unexported fields
}

EngineVal wraps a *railties.Engine (Rails::Engine).

func (*EngineVal) Inspect ¶

func (v *EngineVal) Inspect() string

func (*EngineVal) ToS ¶

func (v *EngineVal) ToS() string

func (*EngineVal) Truthy ¶

func (v *EngineVal) Truthy() bool

type Enumerator ¶

type Enumerator struct {
	// contains filtered or unexported fields
}

Enumerator is an external iterator over recv.meth(*args): #each forwards a block to the underlying method, while #to_a/#next/#peek materialise the yielded elements eagerly (so this covers finite sequences; true laziness is a separate concern). An element is the single yielded value, or an array of the values when several are yielded at once.

func (*Enumerator) Inspect ¶

func (e *Enumerator) Inspect() string

Inspect renders the MRI form #<Enumerator: recv:meth(args)>. (MRI's #to_s shows the object address instead, which we can't reproduce deterministically, so ToS reuses Inspect.)

func (*Enumerator) ToS ¶

func (e *Enumerator) ToS() string

func (*Enumerator) Truthy ¶

func (e *Enumerator) Truthy() bool

type Env ¶

type Env struct {
	// contains filtered or unexported fields
}

Env is one lexical frame of local-variable slots. parent links to the enclosing frame so a block (closure) can read and write the locals of the method (or outer block) it was defined in.

type ErubiEngine ¶

type ErubiEngine struct {
	// contains filtered or unexported fields
}

ErubiEngine is an instance of Erubi::Engine (or its Erubi::CaptureEndEngine subclass): the compiled result of one template. Its readers expose the frozen Ruby #src, the #filename it reports, and the #bufvar naming its output buffer, all produced by the go-ruby-erubi compiler at construction. The cls field lets classOf report the exact class (Engine vs CaptureEndEngine).

func (*ErubiEngine) Inspect ¶

func (e *ErubiEngine) Inspect() string

Inspect matches ToS: there is no richer inspect for the compiled engine.

func (*ErubiEngine) ToS ¶

func (e *ErubiEngine) ToS() string

ToS renders the default Object#to_s form (#<Erubi::Engine>); the engine is an opaque compiled artifact with no meaningful string value of its own.

func (*ErubiEngine) Truthy ¶

func (e *ErubiEngine) Truthy() bool

Truthy reports true, as every non-nil, non-false object does.

type EtcdClient ¶

type EtcdClient struct {
	// contains filtered or unexported fields
}

EtcdClient is an instance of Etcd::Client (Etcdv3): a connection bound to an etcd v3 cluster through a go-ruby-etcd *etcd.Client. It builds requests, drives them over the client and maps the replies back into the object graph.

func (*EtcdClient) Inspect ¶

func (c *EtcdClient) Inspect() string

func (*EtcdClient) ToS ¶

func (c *EtcdClient) ToS() string

func (*EtcdClient) Truthy ¶

func (c *EtcdClient) Truthy() bool

type EtcdCmp ¶

type EtcdCmp struct {
	// contains filtered or unexported fields
}

EtcdCmp is an instance of Etcd::Compare: one transaction comparison built by a Txn comparison method (#value / #version / …), collected into compare=.

func (*EtcdCmp) Inspect ¶

func (c *EtcdCmp) Inspect() string

func (*EtcdCmp) ToS ¶

func (c *EtcdCmp) ToS() string

func (*EtcdCmp) Truthy ¶

func (c *EtcdCmp) Truthy() bool

type EtcdDelResult ¶

type EtcdDelResult struct {
	// contains filtered or unexported fields
}

EtcdDelResult is an instance of Etcd::DelResult: how many keys a #del removed and, when requested, their previous values.

func (*EtcdDelResult) Inspect ¶

func (r *EtcdDelResult) Inspect() string

func (*EtcdDelResult) ToS ¶

func (r *EtcdDelResult) ToS() string

func (*EtcdDelResult) Truthy ¶

func (r *EtcdDelResult) Truthy() bool

type EtcdEvent ¶

type EtcdEvent struct {
	// contains filtered or unexported fields
}

EtcdEvent is an instance of Etcd::Event: one change a watch delivered — the kind (PUT / DELETE), the affected key-value and, when the watch requested it, the previous value.

func (*EtcdEvent) Inspect ¶

func (e *EtcdEvent) Inspect() string

func (*EtcdEvent) ToS ¶

func (e *EtcdEvent) ToS() string

func (*EtcdEvent) Truthy ¶

func (e *EtcdEvent) Truthy() bool

type EtcdGetResult ¶

type EtcdGetResult struct {
	// contains filtered or unexported fields
}

EtcdGetResult is an instance of Etcd::GetResult: the key-values a #get matched plus the range metadata (count, more), mirroring the gem's range response.

func (*EtcdGetResult) Inspect ¶

func (r *EtcdGetResult) Inspect() string

func (*EtcdGetResult) ToS ¶

func (r *EtcdGetResult) ToS() string

func (*EtcdGetResult) Truthy ¶

func (r *EtcdGetResult) Truthy() bool

type EtcdKeyValue ¶

type EtcdKeyValue struct {
	// contains filtered or unexported fields
}

EtcdKeyValue is an instance of Etcd::KeyValue: one key/value pair and its revision metadata, mirroring etcd's mvccpb.KeyValue.

func (*EtcdKeyValue) Inspect ¶

func (k *EtcdKeyValue) Inspect() string

func (*EtcdKeyValue) ToS ¶

func (k *EtcdKeyValue) ToS() string

func (*EtcdKeyValue) Truthy ¶

func (k *EtcdKeyValue) Truthy() bool

type EtcdLease ¶

type EtcdLease struct {
	// contains filtered or unexported fields
}

EtcdLease is an instance of Etcd::Lease: a granted lease and its TTL, holding a back-reference to its client so it can renew (#keep_alive), report (#ttl_info) and revoke (#revoke) itself.

func (*EtcdLease) Inspect ¶

func (l *EtcdLease) Inspect() string

func (*EtcdLease) ToS ¶

func (l *EtcdLease) ToS() string

func (*EtcdLease) Truthy ¶

func (l *EtcdLease) Truthy() bool

type EtcdLock ¶

type EtcdLock struct {
	// contains filtered or unexported fields
}

EtcdLock is an instance of Etcd::Lock: a held distributed lock — the ownership key and the lease keeping it alive — released with Client#unlock.

func (*EtcdLock) Inspect ¶

func (l *EtcdLock) Inspect() string

func (*EtcdLock) ToS ¶

func (l *EtcdLock) ToS() string

func (*EtcdLock) Truthy ¶

func (l *EtcdLock) Truthy() bool

type EtcdMember ¶

type EtcdMember struct {
	// contains filtered or unexported fields
}

EtcdMember is an instance of Etcd::Member: one cluster member's identity and URLs, mirroring the gem's member object.

func (*EtcdMember) Inspect ¶

func (m *EtcdMember) Inspect() string

func (*EtcdMember) ToS ¶

func (m *EtcdMember) ToS() string

func (*EtcdMember) Truthy ¶

func (m *EtcdMember) Truthy() bool

type EtcdOp ¶

type EtcdOp struct {
	// contains filtered or unexported fields
}

EtcdOp is an instance of Etcd::Operation: one transaction operation built by a Txn op method (#put / #get / #del), collected into success= / failure=.

func (*EtcdOp) Inspect ¶

func (o *EtcdOp) Inspect() string

func (*EtcdOp) ToS ¶

func (o *EtcdOp) ToS() string

func (*EtcdOp) Truthy ¶

func (o *EtcdOp) Truthy() bool

type EtcdPutResult ¶

type EtcdPutResult struct {
	// contains filtered or unexported fields
}

EtcdPutResult is an instance of Etcd::PutResult: a #put's store revision and, when requested, the previous value at the key.

func (*EtcdPutResult) Inspect ¶

func (r *EtcdPutResult) Inspect() string

func (*EtcdPutResult) ToS ¶

func (r *EtcdPutResult) ToS() string

func (*EtcdPutResult) Truthy ¶

func (r *EtcdPutResult) Truthy() bool

type EtcdStatus ¶

type EtcdStatus struct {
	// contains filtered or unexported fields
}

EtcdStatus is an instance of Etcd::Status: a member's version, database size and raft state, mirroring the gem's #status.

func (*EtcdStatus) Inspect ¶

func (s *EtcdStatus) Inspect() string

func (*EtcdStatus) ToS ¶

func (s *EtcdStatus) ToS() string

func (*EtcdStatus) Truthy ¶

func (s *EtcdStatus) Truthy() bool

type EtcdTxn ¶

type EtcdTxn struct {
	// contains filtered or unexported fields
}

EtcdTxn is an instance of Etcd::Txn: the transaction builder yielded to a #transaction block. It accumulates the comparisons and the success / failure operations set through compare= / success= / failure=, which #transaction then commits atomically.

func (*EtcdTxn) Inspect ¶

func (t *EtcdTxn) Inspect() string

func (*EtcdTxn) ToS ¶

func (t *EtcdTxn) ToS() string

func (*EtcdTxn) Truthy ¶

func (t *EtcdTxn) Truthy() bool

type EtcdTxnResult ¶

type EtcdTxnResult struct {
	// contains filtered or unexported fields
}

EtcdTxnResult is an instance of Etcd::TxnResult: whether a transaction's comparisons held and the per-operation replies of the branch that ran.

func (*EtcdTxnResult) Inspect ¶

func (r *EtcdTxnResult) Inspect() string

func (*EtcdTxnResult) ToS ¶

func (r *EtcdTxnResult) ToS() string

func (*EtcdTxnResult) Truthy ¶

func (r *EtcdTxnResult) Truthy() bool

type ExconConnection ¶

type ExconConnection struct {
	// contains filtered or unexported fields
}

ExconConnection wraps a persistent *excon.Connection (Excon::Connection).

func (*ExconConnection) Inspect ¶

func (v *ExconConnection) Inspect() string

func (*ExconConnection) ToS ¶

func (v *ExconConnection) ToS() string

func (*ExconConnection) Truthy ¶

func (v *ExconConnection) Truthy() bool

type ExconResponse ¶

type ExconResponse struct {
	// contains filtered or unexported fields
}

ExconResponse wraps a finished *excon.Response (Excon::Response).

func (*ExconResponse) Inspect ¶

func (v *ExconResponse) Inspect() string

func (*ExconResponse) ToS ¶

func (v *ExconResponse) ToS() string

func (*ExconResponse) Truthy ¶

func (v *ExconResponse) Truthy() bool

type FacterFact ¶

type FacterFact struct {
	// contains filtered or unexported fields
}

FacterFact is the object Facter[name] / Facter.fact(name) / Facter.add return — the Ruby Facter::Util::Fact, a handle over one go-ruby-facter *Fact that resolves its value lazily (highest-weight matching resolution wins).

func (*FacterFact) Inspect ¶

func (f *FacterFact) Inspect() string

func (*FacterFact) ToS ¶

func (f *FacterFact) ToS() string

func (*FacterFact) Truthy ¶

func (f *FacterFact) Truthy() bool

type FacterResolution ¶

type FacterResolution struct {
	// contains filtered or unexported fields
}

FacterResolution is the self a Facter.add(name) { … } block runs against (Facter::Util::Resolution): it captures the setcode block or command, the weight and the confines that define and gate one way of resolving the fact. After the block runs, facterRegister turns it into a go-ruby-facter resolution.

func (*FacterResolution) Inspect ¶

func (r *FacterResolution) Inspect() string

func (*FacterResolution) ToS ¶

func (r *FacterResolution) ToS() string

func (*FacterResolution) Truthy ¶

func (r *FacterResolution) Truthy() bool

type FactoryBotEvaluator ¶

type FactoryBotEvaluator struct {
	// contains filtered or unexported fields
}

FactoryBotEvaluator is the self a dynamic attribute block or a callback reads sibling / transient attributes through (factory_bot's evaluator). Its method_missing resolves a bare sibling name to the memoized attribute value, and it is also handed to the block as its parameter (`name { |e| e.first }`).

func (*FactoryBotEvaluator) Inspect ¶

func (e *FactoryBotEvaluator) Inspect() string

func (*FactoryBotEvaluator) ToS ¶

func (e *FactoryBotEvaluator) ToS() string

func (*FactoryBotEvaluator) Truthy ¶

func (e *FactoryBotEvaluator) Truthy() bool

type FactoryBotProxy ¶

type FactoryBotProxy struct {
	// contains filtered or unexported fields
}

FactoryBotProxy is the self a `factory`/`trait`/`transient`/nested-`factory` block runs against (factory_bot's FactoryBot::DefinitionProxy). Its method_missing turns a bare `name "value"` into a static attribute and a `name { … }` into a dynamic one, while the explicit DSL methods (sequence, association, trait, transient, factory, after, before) configure the wrapped library *Definition directly.

func (*FactoryBotProxy) Inspect ¶

func (p *FactoryBotProxy) Inspect() string

func (*FactoryBotProxy) ToS ¶

func (p *FactoryBotProxy) ToS() string

func (*FactoryBotProxy) Truthy ¶

func (p *FactoryBotProxy) Truthy() bool

type FactoryBotTopProxy ¶

type FactoryBotTopProxy struct {
	// contains filtered or unexported fields
}

FactoryBotTopProxy is the self a `FactoryBot.define do … end` block runs against: it exposes the top-level `factory` and (global) `sequence` declarations, registering each into the VM's factory registry.

func (*FactoryBotTopProxy) Inspect ¶

func (p *FactoryBotTopProxy) Inspect() string

func (*FactoryBotTopProxy) ToS ¶

func (p *FactoryBotTopProxy) ToS() string

func (*FactoryBotTopProxy) Truthy ¶

func (p *FactoryBotTopProxy) Truthy() bool

type FaradayConnection ¶

type FaradayConnection struct {
	// contains filtered or unexported fields
}

FaradayConnection wraps a *faraday.Connection (Faraday::Connection). formEncode records whether the url_encoded request middleware was registered, so a Hash body is carried as ordered form Params (which UrlEncoded encodes) rather than a JSON value.

func (*FaradayConnection) Inspect ¶

func (v *FaradayConnection) Inspect() string

func (*FaradayConnection) ToS ¶

func (v *FaradayConnection) ToS() string

func (*FaradayConnection) Truthy ¶

func (v *FaradayConnection) Truthy() bool

type FaradayHeaders ¶

type FaradayHeaders struct {
	// contains filtered or unexported fields
}

FaradayHeaders wraps a *faraday.Headers proxy (a request's headers).

func (*FaradayHeaders) Inspect ¶

func (v *FaradayHeaders) Inspect() string

func (*FaradayHeaders) ToS ¶

func (v *FaradayHeaders) ToS() string

func (*FaradayHeaders) Truthy ¶

func (v *FaradayHeaders) Truthy() bool

type FaradayParams ¶

type FaradayParams struct {
	// contains filtered or unexported fields
}

FaradayParams wraps a *faraday.Params proxy (a request's query params).

func (*FaradayParams) Inspect ¶

func (v *FaradayParams) Inspect() string

func (*FaradayParams) ToS ¶

func (v *FaradayParams) ToS() string

func (*FaradayParams) Truthy ¶

func (v *FaradayParams) Truthy() bool

type FaradayRequest ¶

type FaradayRequest struct {
	// contains filtered or unexported fields
}

FaradayRequest wraps the mutable *faraday.Request yielded to a per-request block (Faraday::Request).

func (*FaradayRequest) Inspect ¶

func (v *FaradayRequest) Inspect() string

func (*FaradayRequest) ToS ¶

func (v *FaradayRequest) ToS() string

func (*FaradayRequest) Truthy ¶

func (v *FaradayRequest) Truthy() bool

type FaradayResponse ¶

type FaradayResponse struct {
	// contains filtered or unexported fields
}

FaradayResponse wraps a finished *faraday.Response (Faraday::Response).

func (*FaradayResponse) Inspect ¶

func (v *FaradayResponse) Inspect() string

func (*FaradayResponse) ToS ¶

func (v *FaradayResponse) ToS() string

func (*FaradayResponse) Truthy ¶

func (v *FaradayResponse) Truthy() bool

type Fiber ¶

type Fiber struct {
	// contains filtered or unexported fields
}

Fiber is a cooperative coroutine backed by a goroutine. resume and Fiber.yield hand control back and forth over a pair of channels, so exactly one side runs at a time (a strict handoff — no real concurrency, and the channel operations give the race detector the happens-before it needs).

func (*Fiber) Inspect ¶

func (f *Fiber) Inspect() string

func (*Fiber) ToS ¶

func (f *Fiber) ToS() string

func (*Fiber) Truthy ¶

func (f *Fiber) Truthy() bool

type FileStat ¶

type FileStat struct {
	// contains filtered or unexported fields
}

FileStat is the Ruby File::Stat value: a thin shell over Go's fs.FileInfo plus the POSIX numbers extracted by the build-tagged statSys. It is a first-class object.Value (like Time), dispatched through vm.cFileStat.

func (*FileStat) Inspect ¶

func (s *FileStat) Inspect() string

func (*FileStat) ToS ¶

func (s *FileStat) ToS() string

func (*FileStat) Truthy ¶

func (s *FileStat) Truthy() bool

type FormBuilderVal ¶

type FormBuilderVal struct {
	// contains filtered or unexported fields
}

FormBuilderVal is a Ruby ActionView::Helpers::FormBuilder: the object-bound form field helper yielded by form_with. It wraps the library's *actionview.FormBuilder so each field method generates the exact user[field] name / user_field id conventions and the stored-value defaults the library reproduces.

func (*FormBuilderVal) Inspect ¶

func (b *FormBuilderVal) Inspect() string

Inspect matches ToS.

func (*FormBuilderVal) ToS ¶

func (b *FormBuilderVal) ToS() string

ToS renders the default object form; a form builder has no string value.

func (*FormBuilderVal) Truthy ¶

func (b *FormBuilderVal) Truthy() bool

Truthy reports true.

type GRPCActiveCall ¶

type GRPCActiveCall struct {
	// contains filtered or unexported fields
}

GRPCActiveCall is the Ruby wrapper around a library ActiveCall, the object a streaming handler drives. It carries the service codec procs so remote_send / remote_read speak in Ruby messages while the library moves bytes.

func (*GRPCActiveCall) Inspect ¶

func (c *GRPCActiveCall) Inspect() string

func (*GRPCActiveCall) ToS ¶

func (c *GRPCActiveCall) ToS() string

func (*GRPCActiveCall) Truthy ¶

func (c *GRPCActiveCall) Truthy() bool

type GRPCServer ¶

type GRPCServer struct {
	// contains filtered or unexported fields
}

GRPCServer is the Ruby wrapper around a go-ruby-grpc RpcServer bound to the VM's shared in-memory transport.

func (*GRPCServer) Inspect ¶

func (s *GRPCServer) Inspect() string

func (*GRPCServer) ToS ¶

func (s *GRPCServer) ToS() string

func (*GRPCServer) Truthy ¶

func (s *GRPCServer) Truthy() bool

type GRPCService ¶

type GRPCService struct {
	// contains filtered or unexported fields
}

GRPCService is the Ruby-defined service passed to RpcServer#handle: a name, its RPCs and the (optional) message codec procs (a String codec by default).

func (*GRPCService) Inspect ¶

func (s *GRPCService) Inspect() string

func (*GRPCService) ToS ¶

func (s *GRPCService) ToS() string

func (*GRPCService) Truthy ¶

func (s *GRPCService) Truthy() bool

type GRPCStatus ¶

type GRPCStatus struct {
	// contains filtered or unexported fields
}

GRPCStatus is the Ruby wrapper around the code/details/metadata triple BadStatus#to_status returns (the gem's Struct::Status).

func (*GRPCStatus) Inspect ¶

func (s *GRPCStatus) Inspect() string

func (*GRPCStatus) ToS ¶

func (s *GRPCStatus) ToS() string

func (*GRPCStatus) Truthy ¶

func (s *GRPCStatus) Truthy() bool

type GRPCStub ¶

type GRPCStub struct {
	// contains filtered or unexported fields
}

GRPCStub is the Ruby wrapper around a go-ruby-grpc ClientStub dialed over the VM's shared in-memory transport.

func (*GRPCStub) Inspect ¶

func (s *GRPCStub) Inspect() string

func (*GRPCStub) ToS ¶

func (s *GRPCStub) ToS() string

func (*GRPCStub) Truthy ¶

func (s *GRPCStub) Truthy() bool

type GetoptLong ¶

type GetoptLong struct {
	// contains filtered or unexported fields
}

GetoptLong binds github.com/go-ruby-getoptlong/getoptlong — a pure-Go (cgo-free) faithful port of the option-scanning core of Ruby's GetoptLong (require "getoptlong", the getoptlong 0.2.1 bundled with MRI 4.0.5) — into rbgo, replacing the former NotImplementedError stubs on #each / #get / #get_option / #set_options / #each_option. The whole scanning ENGINE (long/short/abbreviation matching, =-joined and separate arguments, bundled short flags, the `--` terminator, the three ordering modes, optional-argument lookahead, and the full error taxonomy — InvalidOption / MissingArgument / NeedlessArgument / AmbiguousOption — with MRI-identical messages) lives in the library and is validated against MRI 4.0.5. This file is the thin host wrapper.

Unlike MRI's GetoptLong, the library operates on an explicit argument slice it owns (Parser.Args) rather than mutating the global ARGV. rbgo reproduces MRI's global-ARGV semantics here: at construction (and on set_options) the parser is seeded from rbgo's ARGV / $* array, and after every scanning step the remaining arguments the library leaves in Parser.Args are written back into that very same ARGV Array object — so a program reading ARGV (or $*) after parsing sees the non-option operands, exactly as MRI leaves them.

func (*GetoptLong) Inspect ¶

func (g *GetoptLong) Inspect() string

func (*GetoptLong) ToS ¶

func (g *GetoptLong) ToS() string

func (*GetoptLong) Truthy ¶

func (g *GetoptLong) Truthy() bool

type GrapeFormatter ¶

type GrapeFormatter struct{}

GrapeFormatter is the Ruby wrapper around a grape.Formatter — serialises a response value tree to json / txt / xml (Grape's built-in formatters).

func (*GrapeFormatter) Inspect ¶

func (f *GrapeFormatter) Inspect() string

func (*GrapeFormatter) ToS ¶

func (f *GrapeFormatter) ToS() string

func (*GrapeFormatter) Truthy ¶

func (f *GrapeFormatter) Truthy() bool

type GrapeMatch ¶

type GrapeMatch struct {
	// contains filtered or unexported fields
}

GrapeMatch is the Ruby wrapper around a grape.Match — a routing decision (#status/#route/#params/#allowed).

func (*GrapeMatch) Inspect ¶

func (m *GrapeMatch) Inspect() string

func (*GrapeMatch) ToS ¶

func (m *GrapeMatch) ToS() string

func (*GrapeMatch) Truthy ¶

func (m *GrapeMatch) Truthy() bool

type GrapeParamsBuilder ¶

type GrapeParamsBuilder struct {
	// contains filtered or unexported fields
}

GrapeParamsBuilder is the DSL self a `params do … end` block runs against; its requires / optional methods append Params to the ParamSet under construction.

func (*GrapeParamsBuilder) Inspect ¶

func (b *GrapeParamsBuilder) Inspect() string

func (*GrapeParamsBuilder) ToS ¶

func (b *GrapeParamsBuilder) ToS() string

func (*GrapeParamsBuilder) Truthy ¶

func (b *GrapeParamsBuilder) Truthy() bool

type GrapeRoute ¶

type GrapeRoute struct {
	// contains filtered or unexported fields
}

GrapeRoute is the Ruby wrapper around a *grape.Route — one matched endpoint (its method, pattern and opaque handler value).

func (*GrapeRoute) Inspect ¶

func (r *GrapeRoute) Inspect() string

func (*GrapeRoute) ToS ¶

func (r *GrapeRoute) ToS() string

func (*GrapeRoute) Truthy ¶

func (r *GrapeRoute) Truthy() bool

type GrapeRouter ¶

type GrapeRouter struct {
	// contains filtered or unexported fields
}

GrapeRouter is the Ruby wrapper around a *grape.Router — an ordered set of routes that resolves a (method, path) request to a match (Grape's router). The route modelling + first-declared-first-served matching lives in the github.com/go-ruby-grape/grape library; this shell wires the Ruby verb DSL (#get/#post/…) and #match onto it. Binding an endpoint block to a live Ruby object is the host's job — a route's handler is any Ruby value, handed back verbatim on a match.

func (*GrapeRouter) Inspect ¶

func (r *GrapeRouter) Inspect() string

func (*GrapeRouter) ToS ¶

func (r *GrapeRouter) ToS() string

func (*GrapeRouter) Truthy ¶

func (r *GrapeRouter) Truthy() bool

type GrapeValidator ¶

type GrapeValidator struct {
	// contains filtered or unexported fields
}

GrapeValidator is the Ruby wrapper around a *grape.ParamsValidator plus the ParamSet a `params do … end` DSL built. #validate coerces a raw params Hash into the coerced Hash or raises Grape::Exceptions::ValidationErrors carrying Grape's exact messages.

func (*GrapeValidator) Inspect ¶

func (v *GrapeValidator) Inspect() string

func (*GrapeValidator) ToS ¶

func (v *GrapeValidator) ToS() string

func (*GrapeValidator) Truthy ¶

func (v *GrapeValidator) Truthy() bool

type GraphQLObjectDSL ¶

type GraphQLObjectDSL struct {
	// contains filtered or unexported fields
}

GraphQLObjectDSL is the definition builder yielded to the block of GraphQL::ObjectType.define: each #field call appends a field (with its Ruby resolver block) to the map from which the object type is built when the block returns.

func (*GraphQLObjectDSL) Inspect ¶

func (d *GraphQLObjectDSL) Inspect() string

func (*GraphQLObjectDSL) ToS ¶

func (d *GraphQLObjectDSL) ToS() string

func (*GraphQLObjectDSL) Truthy ¶

func (d *GraphQLObjectDSL) Truthy() bool

type GraphQLSchema ¶

type GraphQLSchema struct {
	// contains filtered or unexported fields
}

GraphQLSchema is an instance of GraphQL::Schema: a validated type system rooted at a query type, against which query documents are executed with #execute.

func (*GraphQLSchema) Inspect ¶

func (s *GraphQLSchema) Inspect() string

func (*GraphQLSchema) ToS ¶

func (s *GraphQLSchema) ToS() string

func (*GraphQLSchema) Truthy ¶

func (s *GraphQLSchema) Truthy() bool

type GraphQLType ¶

type GraphQLType struct {
	// contains filtered or unexported fields
}

GraphQLType is a member of the GraphQL type system exposed to Ruby: a scalar, an object type, or a List / NonNull wrapper. It carries the wrapped go-ruby-graphql type (usable as a field or argument type) and, when it is an object type, the concrete *graphql.ObjectType usable as a schema root. The cls field is the Ruby class it reports (GraphQL::Type or GraphQL::ObjectType).

func (*GraphQLType) Inspect ¶

func (t *GraphQLType) Inspect() string

func (*GraphQLType) ToS ¶

func (t *GraphQLType) ToS() string

func (*GraphQLType) Truthy ¶

func (t *GraphQLType) Truthy() bool

type HTTPartyResponse ¶

type HTTPartyResponse struct {
	// contains filtered or unexported fields
}

HTTPartyResponse wraps a finished *httparty.Response (HTTParty::Response).

func (*HTTPartyResponse) Inspect ¶

func (v *HTTPartyResponse) Inspect() string

func (*HTTPartyResponse) ToS ¶

func (v *HTTPartyResponse) ToS() string

func (*HTTPartyResponse) Truthy ¶

func (v *HTTPartyResponse) Truthy() bool

type HTTPrbClient ¶

type HTTPrbClient struct {
	// contains filtered or unexported fields
}

HTTPrbClient wraps an *httprb.Client (HTTP::Client / HTTP::Chainable). Each chainable method returns a fresh branched client, exactly like http.rb.

func (*HTTPrbClient) Inspect ¶

func (v *HTTPrbClient) Inspect() string

func (*HTTPrbClient) ToS ¶

func (v *HTTPrbClient) ToS() string

func (*HTTPrbClient) Truthy ¶

func (v *HTTPrbClient) Truthy() bool

type HTTPrbResponse ¶

type HTTPrbResponse struct {
	// contains filtered or unexported fields
}

HTTPrbResponse wraps a finished *httprb.Response (HTTP::Response).

func (*HTTPrbResponse) Inspect ¶

func (v *HTTPrbResponse) Inspect() string

func (*HTTPrbResponse) ToS ¶

func (v *HTTPrbResponse) ToS() string

func (*HTTPrbResponse) Truthy ¶

func (v *HTTPrbResponse) Truthy() bool

type HTTPrbStatus ¶

type HTTPrbStatus struct {
	// contains filtered or unexported fields
}

HTTPrbStatus wraps an httprb.Status (HTTP::Response::Status), the status code with http.rb's query predicates.

func (*HTTPrbStatus) Inspect ¶

func (v *HTTPrbStatus) Inspect() string

func (*HTTPrbStatus) ToS ¶

func (v *HTTPrbStatus) ToS() string

func (*HTTPrbStatus) Truthy ¶

func (v *HTTPrbStatus) Truthy() bool

type HanamiFlash ¶

type HanamiFlash struct {
	// contains filtered or unexported fields
}

HanamiFlash is the Ruby wrapper over a *hanami.Flash — the two-generation message store reachable through req.flash / resp.flash (#[]/#[]=/keep/empty?). It carries its own class so classOf reports Hanami::Action::Flash.

func (*HanamiFlash) Inspect ¶

func (f *HanamiFlash) Inspect() string

func (*HanamiFlash) ToS ¶

func (f *HanamiFlash) ToS() string

func (*HanamiFlash) Truthy ¶

func (f *HanamiFlash) Truthy() bool

type HanamiReq ¶

type HanamiReq struct {
	// contains filtered or unexported fields
}

HanamiReq is the Ruby wrapper over a *hanami.Request — the request handed to a Hanami action's #handle and its before/after callbacks. It exposes the merged params, single-param/format accessors, params-validity, and the session, cookies and flash. It carries its own class so classOf reports Hanami::Action::Request.

func (*HanamiReq) Inspect ¶

func (r *HanamiReq) Inspect() string

func (*HanamiReq) ToS ¶

func (r *HanamiReq) ToS() string

func (*HanamiReq) Truthy ¶

func (r *HanamiReq) Truthy() bool

type HanamiResp ¶

type HanamiResp struct {
	// contains filtered or unexported fields
}

HanamiResp is the Ruby wrapper over a *hanami.Response — the mutable response an action's #handle builds up (status/body/format/headers/cookies/session/ flash), plus redirect_to and halt. It carries its own class so classOf reports Hanami::Action::Response.

func (*HanamiResp) Inspect ¶

func (r *HanamiResp) Inspect() string

func (*HanamiResp) ToS ¶

func (r *HanamiResp) ToS() string

func (*HanamiResp) Truthy ¶

func (r *HanamiResp) Truthy() bool

type HanamiRouter ¶

type HanamiRouter struct {
	// contains filtered or unexported fields
}

HanamiRouter is the Ruby wrapper over a *hanami.Router — the segment-trie app built by Hanami::Router.new and served with #call(env). It carries its own class so classOf reports Hanami::Router.

func (*HanamiRouter) Inspect ¶

func (r *HanamiRouter) Inspect() string

func (*HanamiRouter) ToS ¶

func (r *HanamiRouter) ToS() string

func (*HanamiRouter) Truthy ¶

func (r *HanamiRouter) Truthy() bool

type HieraObj ¶

type HieraObj struct {
	// contains filtered or unexported fields
}

HieraObj is a Ruby Hiera instance: one go-ruby-hiera adapter (config + scope) behind the #lookup surface.

func (*HieraObj) Inspect ¶

func (o *HieraObj) Inspect() string

func (*HieraObj) ToS ¶

func (o *HieraObj) ToS() string

func (*HieraObj) Truthy ¶

func (o *HieraObj) Truthy() bool

type HoconConfig ¶

type HoconConfig struct {
	// contains filtered or unexported fields
}

HoconConfig is a Ruby Hocon::Config instance: one resolved config tree behind the typed path accessors.

func (*HoconConfig) Inspect ¶

func (o *HoconConfig) Inspect() string

func (*HoconConfig) ToS ¶

func (o *HoconConfig) ToS() string

func (*HoconConfig) Truthy ¶

func (o *HoconConfig) Truthy() bool

type I18nBackend ¶

type I18nBackend struct {
	// contains filtered or unexported fields
}

I18nBackend is the Ruby handle I18n.backend returns: an I18n::Backend::Simple over the process-wide store held on the VM. It carries no state of its own — every method routes to vm.i18nInst — so all handles see the same translations, exactly as the gem's singleton backend does.

func (*I18nBackend) Inspect ¶

func (b *I18nBackend) Inspect() string

func (*I18nBackend) ToS ¶

func (b *I18nBackend) ToS() string

func (*I18nBackend) Truthy ¶

func (b *I18nBackend) Truthy() bool

type IMAPObj ¶

type IMAPObj struct {
	// contains filtered or unexported fields
}

IMAPObj is the Ruby wrapper around a live IMAP session (Net::IMAP). It owns no socket: it drives the builder + parser over the injected rubyConn seam, assembling and parsing responses as commands are issued.

func (*IMAPObj) Inspect ¶

func (o *IMAPObj) Inspect() string

func (*IMAPObj) ToS ¶

func (o *IMAPObj) ToS() string

func (*IMAPObj) Truthy ¶

func (o *IMAPObj) Truthy() bool

type IOObj ¶

type IOObj struct {
	// contains filtered or unexported fields
}

IOObj backs a Ruby IO and StringIO. A real IO (the $stdout/$stderr/$stdin streams) writes to / reads from an os-level writer/reader; a StringIO is an in-memory byte buffer with a read/write cursor. The two share the write path so puts/print/printf/<< work uniformly, and StringIO adds the read methods.

func (*IOObj) Inspect ¶

func (o *IOObj) Inspect() string

func (*IOObj) ToS ¶

func (o *IOObj) ToS() string

func (*IOObj) Truthy ¶

func (o *IOObj) Truthy() bool

type IPAddr ¶

type IPAddr struct {
	// contains filtered or unexported fields
}

IPAddr is the Ruby wrapper around a go-ruby-ipaddr IPAddr.

func (*IPAddr) Inspect ¶

func (a *IPAddr) Inspect() string

func (*IPAddr) ToS ¶

func (a *IPAddr) ToS() string

func (*IPAddr) Truthy ¶

func (a *IPAddr) Truthy() bool

type Image ¶

type Image struct {
	// contains filtered or unexported fields
}

Image is the Ruby wrapper around an RGBA raster.

func (*Image) Inspect ¶

func (i *Image) Inspect() string

func (*Image) ToS ¶

func (i *Image) ToS() string

func (*Image) Truthy ¶

func (i *Image) Truthy() bool

type ImagesCanvas ¶

type ImagesCanvas struct {
	// contains filtered or unexported fields
}

ImagesCanvas is the Ruby wrapper around a *canvas.Canvas, the chunky_png-style mutable RGBA grid. Per-pixel access (#[] / #[]=), primitive drawing (points, lines, rectangles, circles), alpha compositing and PNG I/O are exposed as Images::Canvas methods; the pixels themselves are plain Integers packed 0xRRGGBBAA (see the Images::Color module). The drawing and PNG codec live in the github.com/go-ruby-images/images/canvas library.

func (*ImagesCanvas) Inspect ¶

func (c *ImagesCanvas) Inspect() string

func (*ImagesCanvas) ToS ¶

func (c *ImagesCanvas) ToS() string

func (*ImagesCanvas) Truthy ¶

func (c *ImagesCanvas) Truthy() bool

type ImagesImage ¶

type ImagesImage struct {
	// contains filtered or unexported fields
}

ImagesImage is the Ruby wrapper around a *images.Image, the go-ruby-images processing handle (the pure-Go MiniMagick / ruby-vips analogue). Every transform returns a fresh Images::Image, and the scikit-image operations (blur, edges, threshold, morphology, colour ops) are exposed as instance methods, so `require "images"` presents one coherent Images::Image surface. The decoding, transforms and encoders all live in the github.com/go-ruby-images/images library (see images_bind.go); this file is the thin wiring plus the Images module namespace and its Images::Image class.

func (*ImagesImage) Inspect ¶

func (i *ImagesImage) Inspect() string

func (*ImagesImage) ToS ¶

func (i *ImagesImage) ToS() string

func (*ImagesImage) Truthy ¶

func (i *ImagesImage) Truthy() bool

type Jbuilder ¶

type Jbuilder struct {
	// contains filtered or unexported fields
}

Jbuilder is the Ruby wrapper around a *jbuilder.Jbuilder builder. The gem drives the builder through method_missing on a `json` receiver — json.name "x" sets a key, json.name { … } nests an object, json.array! maps a collection — and this shell reproduces that: method_missing routes onto the library's Set/Block driver methods, and the bang methods (array!, set!, merge!, extract!, nil!, null!, child!, key_format!, ignore_nil!, target!) map onto their library counterparts. The JSON assembly and byte-exact encoding live entirely in the github.com/go-ruby-jbuilder/jbuilder library (see jbuilder_bind.go); this file is the thin wiring plus rbgo's method_missing → Set/Block and block evaluation.

func (*Jbuilder) Inspect ¶

func (j *Jbuilder) Inspect() string

func (*Jbuilder) ToS ¶

func (j *Jbuilder) ToS() string

func (*Jbuilder) Truthy ¶

func (j *Jbuilder) Truthy() bool

type JobRedis ¶

type JobRedis struct {
	// contains filtered or unexported fields
}

JobRedis is the Redis connection object yielded to a Sidekiq.redis { |c| … } (or Resque.redis) block. It funnels every command through the shared go-redis client for the block's lifetime; the client is Closed when the block returns. It reports the class stamped on it (Sidekiq::RedisConnection or Resque::RedisConnection) so `c.class` is gem-faithful.

func (*JobRedis) Inspect ¶

func (j *JobRedis) Inspect() string

func (*JobRedis) ToS ¶

func (j *JobRedis) ToS() string

func (*JobRedis) Truthy ¶

func (j *JobRedis) Truthy() bool

type KafkaBatch ¶

type KafkaBatch struct {
	// contains filtered or unexported fields
}

KafkaBatch wraps a per-partition *kafka.Batch (Kafka::Batch).

func (*KafkaBatch) Inspect ¶

func (v *KafkaBatch) Inspect() string

func (*KafkaBatch) ToS ¶

func (v *KafkaBatch) ToS() string

func (*KafkaBatch) Truthy ¶

func (v *KafkaBatch) Truthy() bool

type KafkaClient ¶

type KafkaClient struct {
	// contains filtered or unexported fields
}

KafkaClient wraps a *kafka.Kafka, the object returned by Kafka.new (Kafka::Client): the factory for producers/consumers and the admin surface.

func (*KafkaClient) Inspect ¶

func (v *KafkaClient) Inspect() string

func (*KafkaClient) ToS ¶

func (v *KafkaClient) ToS() string

func (*KafkaClient) Truthy ¶

func (v *KafkaClient) Truthy() bool

type KafkaConsumer ¶

type KafkaConsumer struct {
	// contains filtered or unexported fields
}

KafkaConsumer wraps a *kafka.Consumer (Kafka::Consumer), the consumer-group member returned by client.consumer(group_id:).

func (*KafkaConsumer) Inspect ¶

func (v *KafkaConsumer) Inspect() string

func (*KafkaConsumer) ToS ¶

func (v *KafkaConsumer) ToS() string

func (*KafkaConsumer) Truthy ¶

func (v *KafkaConsumer) Truthy() bool

type KafkaMessage ¶

type KafkaMessage struct {
	// contains filtered or unexported fields
}

KafkaMessage wraps a consumed *kafka.Message (Kafka::Message).

func (*KafkaMessage) Inspect ¶

func (v *KafkaMessage) Inspect() string

func (*KafkaMessage) ToS ¶

func (v *KafkaMessage) ToS() string

func (*KafkaMessage) Truthy ¶

func (v *KafkaMessage) Truthy() bool

type KafkaProducer ¶

type KafkaProducer struct {
	// contains filtered or unexported fields
}

KafkaProducer wraps a *kafka.Producer (Kafka::Producer), the buffering producer returned by client.producer.

func (*KafkaProducer) Inspect ¶

func (v *KafkaProducer) Inspect() string

func (*KafkaProducer) ToS ¶

func (v *KafkaProducer) ToS() string

func (*KafkaProducer) Truthy ¶

func (v *KafkaProducer) Truthy() bool

type KaminariArray ¶

type KaminariArray struct {
	// contains filtered or unexported fields
}

KaminariArray is the Ruby wrapper around a *kaminari.Array — kaminari's PaginatableArray, an in-memory collection that paginates itself. Page / Per / Padding return fresh snapshots over the same backing slice; #records materialises the current window back into a Ruby Array.

func (*KaminariArray) Inspect ¶

func (a *KaminariArray) Inspect() string

func (*KaminariArray) ToS ¶

func (a *KaminariArray) ToS() string

func (*KaminariArray) Truthy ¶

func (a *KaminariArray) Truthy() bool

type KaminariRelation ¶

type KaminariRelation struct {
	// contains filtered or unexported fields
}

KaminariRelation is the Ruby wrapper around a *kaminari.RelationPaginator — the paginator over a Relation seam. Page / Per / Padding return fresh snapshots over the same seam; #records calls back through the seam (#offset.#limit) and returns whatever it yields (the ActiveRecord relation, or the stub's slice).

func (*KaminariRelation) Inspect ¶

func (r *KaminariRelation) Inspect() string

func (*KaminariRelation) ToS ¶

func (r *KaminariRelation) ToS() string

func (*KaminariRelation) Truthy ¶

func (r *KaminariRelation) Truthy() bool

type KramdownDoc ¶

type KramdownDoc struct {
	// contains filtered or unexported fields
}

KramdownDoc is the Ruby wrapper around a parsed kramdown source: it holds the source String and the options value so Kramdown::Document#to_html renders on demand through the library.

func (*KramdownDoc) Inspect ¶

func (d *KramdownDoc) Inspect() string

func (*KramdownDoc) ToS ¶

func (d *KramdownDoc) ToS() string

func (*KramdownDoc) Truthy ¶

func (d *KramdownDoc) Truthy() bool

type LazyEnum ¶

type LazyEnum struct {
	// contains filtered or unexported fields
}

LazyEnum is Ruby's Enumerator::Lazy: a source plus a chain of transformations that are applied on demand, one element at a time, when a terminal operation (first/to_a/force/each) pulls. This makes infinite sources usable — (1..Float::INFINITY).lazy.map { … }.first(5) — without materialising them.

func (*LazyEnum) Inspect ¶

func (l *LazyEnum) Inspect() string

func (*LazyEnum) ToS ¶

func (l *LazyEnum) ToS() string

func (*LazyEnum) Truthy ¶

func (l *LazyEnum) Truthy() bool

type Logger ¶

type Logger struct {
	// contains filtered or unexported fields
}

Logger is the Ruby wrapper around a go-ruby-logger Logger plus the host-side rotation state and IO device the library deliberately omits.

func (*Logger) Inspect ¶

func (lo *Logger) Inspect() string

func (*Logger) ToS ¶

func (lo *Logger) ToS() string

func (*Logger) Truthy ¶

func (lo *Logger) Truthy() bool

type LoggerFormatter ¶

type LoggerFormatter struct {
	// contains filtered or unexported fields
}

LoggerFormatter is the Ruby wrapper around a standalone Logger::Formatter (Logger::Formatter.new). Its #call renders one line through the library exactly as the default formatter does.

func (*LoggerFormatter) Inspect ¶

func (lf *LoggerFormatter) Inspect() string

func (*LoggerFormatter) ToS ¶

func (lf *LoggerFormatter) ToS() string

func (*LoggerFormatter) Truthy ¶

func (lf *LoggerFormatter) Truthy() bool

type MIMEType ¶

type MIMEType struct {
	// contains filtered or unexported fields
}

MIMEType wraps a mimetypes.Type as a Ruby MIME::Type object. The IANA/registry data model (content_type / media_type / sub_type / extensions / binary? …) lives in the github.com/go-ruby-mime-types/mime-types library; this shell only reports the Ruby class and delegates each reader (see mimetypes_bind.go).

func (*MIMEType) Inspect ¶

func (t *MIMEType) Inspect() string

func (*MIMEType) ToS ¶

func (t *MIMEType) ToS() string

func (*MIMEType) Truthy ¶

func (t *MIMEType) Truthy() bool

type MailBody ¶

type MailBody struct {
	// contains filtered or unexported fields
}

MailBody wraps a message/part body as a Ruby Mail::Body object.

func (*MailBody) Inspect ¶

func (b *MailBody) Inspect() string

func (*MailBody) ToS ¶

func (b *MailBody) ToS() string

func (*MailBody) Truthy ¶

func (b *MailBody) Truthy() bool

type MailField ¶

type MailField struct {
	// contains filtered or unexported fields
}

MailField wraps a single header field as a Ruby Mail::Field object.

func (*MailField) Inspect ¶

func (f *MailField) Inspect() string

func (*MailField) ToS ¶

func (f *MailField) ToS() string

func (*MailField) Truthy ¶

func (f *MailField) Truthy() bool

type MailMessage ¶

type MailMessage struct {
	// contains filtered or unexported fields
}

MailMessage wraps a *mail.Message as a Ruby Mail::Message object (the value Mail.new / Mail.read return and the block builder yields). The RFC 5322 / MIME parse and generation live in the github.com/go-ruby-mail/mail library; this shell only reports the Ruby class and delegates each accessor (see mail_bind.go). Delivery (SMTP/IMAP/POP) is a host seam and is not bound here.

func (*MailMessage) Inspect ¶

func (m *MailMessage) Inspect() string

func (*MailMessage) ToS ¶

func (m *MailMessage) ToS() string

func (*MailMessage) Truthy ¶

func (m *MailMessage) Truthy() bool

type MatchData ¶

type MatchData struct {
	// contains filtered or unexported fields
}

MatchData is the result of a successful match: it wraps the go-ruby-regexp MatchData and remembers the subject string and source Regexp (for named captures and offset conversion).

func (*MatchData) Inspect ¶

func (m *MatchData) Inspect() string

func (*MatchData) ToS ¶

func (m *MatchData) ToS() string

func (*MatchData) Truthy ¶

func (m *MatchData) Truthy() bool

type Matrix ¶

type Matrix struct {
	// contains filtered or unexported fields
}

Matrix is the Ruby wrapper around a go-ruby-matrix Matrix.

func (*Matrix) Inspect ¶

func (m *Matrix) Inspect() string

func (*Matrix) ToS ¶

func (m *Matrix) ToS() string

func (*Matrix) Truthy ¶

func (m *Matrix) Truthy() bool

type Method ¶

type Method struct {
	// contains filtered or unexported fields
}

Method is a Ruby method: either native (Go) or an ISeq (compiled Ruby).

type MinitestAssertionsBox ¶

type MinitestAssertionsBox struct {
	// contains filtered or unexported fields
}

MinitestAssertionsBox carries the per-receiver *minitest.Assertions (the assertion counter + Runtime) attached to a test instance as a hidden ivar. It is never handed to Ruby directly; classOf maps it to Object defensively.

func (*MinitestAssertionsBox) Inspect ¶

func (b *MinitestAssertionsBox) Inspect() string

func (*MinitestAssertionsBox) ToS ¶

func (b *MinitestAssertionsBox) ToS() string

func (*MinitestAssertionsBox) Truthy ¶

func (b *MinitestAssertionsBox) Truthy() bool

type MinitestMock ¶

type MinitestMock struct {
	// contains filtered or unexported fields
}

MinitestMock wraps a *minitest.Mock (Minitest::Mock) and the MockMatcher that carries its VM-backed case-equality / block seam.

func (*MinitestMock) Inspect ¶

func (v *MinitestMock) Inspect() string

func (*MinitestMock) ToS ¶

func (v *MinitestMock) ToS() string

func (*MinitestMock) Truthy ¶

func (v *MinitestMock) Truthy() bool

type MinitestResult ¶

type MinitestResult struct {
	// contains filtered or unexported fields
}

MinitestResult wraps a *minitest.Result — the snapshot Minitest::Test#run produces (assertion count, captured failures, timing, and the gem's rendering / predicates).

func (*MinitestResult) Inspect ¶

func (v *MinitestResult) Inspect() string

func (*MinitestResult) ToS ¶

func (v *MinitestResult) ToS() string

func (*MinitestResult) Truthy ¶

func (v *MinitestResult) Truthy() bool

type Money ¶

type Money struct {
	// contains filtered or unexported fields
}

Money wraps a *money.Money as a Ruby Money object. The integer-cents value model, arithmetic, allocate/split penny distribution, formatting and the exchange bank all live in the github.com/go-ruby-money/money library; this shell only reports the Ruby class and delegates each method (see money_bind.go).

func (*Money) Inspect ¶

func (m *Money) Inspect() string

func (*Money) ToS ¶

func (m *Money) ToS() string

func (*Money) Truthy ¶

func (m *Money) Truthy() bool

type MongoClient ¶

type MongoClient struct {
	// contains filtered or unexported fields
}

MongoClient is an instance of Mongo::Client: a handle to a MongoDB deployment.

func (*MongoClient) Inspect ¶

func (v *MongoClient) Inspect() string

func (*MongoClient) ToS ¶

func (v *MongoClient) ToS() string

func (*MongoClient) Truthy ¶

func (v *MongoClient) Truthy() bool

type MongoCollection ¶

type MongoCollection struct {
	// contains filtered or unexported fields
}

MongoCollection is an instance of Mongo::Collection: a handle to a named collection with the gem's CRUD, aggregation and index methods.

func (*MongoCollection) Inspect ¶

func (v *MongoCollection) Inspect() string

func (*MongoCollection) ToS ¶

func (v *MongoCollection) ToS() string

func (*MongoCollection) Truthy ¶

func (v *MongoCollection) Truthy() bool

type MongoCursor ¶

type MongoCursor struct {
	// contains filtered or unexported fields
}

MongoCursor is an instance of Mongo::Cursor: the Enumerable result of #find / #aggregate. The underlying library cursor is drained once, lazily, into an ordered slice of documents (which closes it, releasing its server-side resources), so the Ruby surface is re-iterable and leaks nothing.

func (*MongoCursor) Inspect ¶

func (v *MongoCursor) Inspect() string

func (*MongoCursor) ToS ¶

func (v *MongoCursor) ToS() string

func (*MongoCursor) Truthy ¶

func (v *MongoCursor) Truthy() bool

type MongoDatabase ¶

type MongoDatabase struct {
	// contains filtered or unexported fields
}

MongoDatabase is an instance of Mongo::Database: a handle to a named database.

func (*MongoDatabase) Inspect ¶

func (v *MongoDatabase) Inspect() string

func (*MongoDatabase) ToS ¶

func (v *MongoDatabase) ToS() string

func (*MongoDatabase) Truthy ¶

func (v *MongoDatabase) Truthy() bool

type MongoObjectId ¶

type MongoObjectId struct {
	// contains filtered or unexported fields
}

MongoObjectId is an instance of BSON::ObjectId: a 12-byte MongoDB identifier.

func (*MongoObjectId) Inspect ¶

func (v *MongoObjectId) Inspect() string

func (*MongoObjectId) ToS ¶

func (v *MongoObjectId) ToS() string

func (*MongoObjectId) Truthy ¶

func (v *MongoObjectId) Truthy() bool

type MongoResult ¶

type MongoResult struct {
	// contains filtered or unexported fields
}

MongoResult is an instance of Mongo::Operation::Result: the return value of a write operation, exposing the gem's count and inserted-id readers. Only the fields relevant to the operation that produced it are populated; the others read as nil.

func (*MongoResult) Inspect ¶

func (v *MongoResult) Inspect() string

func (*MongoResult) ToS ¶

func (v *MongoResult) ToS() string

func (*MongoResult) Truthy ¶

func (v *MongoResult) Truthy() bool

type MySQLClient ¶

type MySQLClient struct {
	// contains filtered or unexported fields
}

MySQLClient is the Ruby wrapper around a *mysql.Client (Mysql2::Client). qdef carries the client's default query options (mysql2's default_query_options), merged with any per-call options on #query.

func (*MySQLClient) Inspect ¶

func (c *MySQLClient) Inspect() string

func (*MySQLClient) ToS ¶

func (c *MySQLClient) ToS() string

func (*MySQLClient) Truthy ¶

func (c *MySQLClient) Truthy() bool

type MySQLResult ¶

type MySQLResult struct {
	// contains filtered or unexported fields
}

MySQLResult is the Ruby wrapper around a buffered *mysql.Result (Mysql2::Result). The result carries the shape (:hash / :array) and the symbolize_keys flag the query ran with, so #each renders each row accordingly.

func (*MySQLResult) Inspect ¶

func (r *MySQLResult) Inspect() string

func (*MySQLResult) ToS ¶

func (r *MySQLResult) ToS() string

func (*MySQLResult) Truthy ¶

func (r *MySQLResult) Truthy() bool

type MySQLStatement ¶

type MySQLStatement struct {
	// contains filtered or unexported fields
}

MySQLStatement is the Ruby wrapper around a prepared *mysql.Statement (Mysql2::Statement). It keeps its owning client so #execute's affected-row / last-id side effects are read back through Mysql2::Client.

func (*MySQLStatement) Inspect ¶

func (s *MySQLStatement) Inspect() string

func (*MySQLStatement) ToS ¶

func (s *MySQLStatement) ToS() string

func (*MySQLStatement) Truthy ¶

func (s *MySQLStatement) Truthy() bool

type NATSX ¶

type NATSX struct {
	// contains filtered or unexported fields
}

NATSX is the single Ruby wrapper for every value the nats library hands across the boundary: a connection (NATS::Client, aliased NATS::Connection), a subscription (NATS::Subscription) or a message (NATS::Msg). cls is the Ruby class it reports (see classOf); exactly one of conn/sub/msg is set, selected by cls, and the registered methods (see nats.go) operate on that held value.

func (*NATSX) Inspect ¶

func (x *NATSX) Inspect() string

func (*NATSX) ToS ¶

func (x *NATSX) ToS() string

func (*NATSX) Truthy ¶

func (x *NATSX) Truthy() bool

type NDArray ¶

type NDArray struct {
	// contains filtered or unexported fields
}

NDArray is the Ruby wrapper around a go-ndarray Array.

func (*NDArray) Inspect ¶

func (n *NDArray) Inspect() string

func (*NDArray) ToS ¶

func (n *NDArray) ToS() string

func (*NDArray) Truthy ¶

func (n *NDArray) Truthy() bool

type NativeFn ¶

type NativeFn func(vm *VM, self object.Value, args []object.Value, blk *Proc) object.Value

NativeFn is a method implemented in Go. blk is the block passed at the call site (nil if none).

type NokogiriDocument ¶

type NokogiriDocument struct {
	// contains filtered or unexported fields
}

NokogiriDocument is the Ruby wrapper around a *nokogiri.Document — a parsed HTML or XML tree (Nokogiri::HTML::Document / Nokogiri::XML::Document). The HTML and XML parsers, the CSS-to-XPath translator and the XPath engine all live in the github.com/go-ruby-nokogiri/nokogiri library (pure-Go, no cgo, no libxml2); this shell is the thin wiring that maps a Ruby markup String to a Document and exposes the node-navigation and query surface (see nokogiri_bind.go).

func (*NokogiriDocument) Inspect ¶

func (d *NokogiriDocument) Inspect() string

func (*NokogiriDocument) ToS ¶

func (d *NokogiriDocument) ToS() string

func (*NokogiriDocument) Truthy ¶

func (d *NokogiriDocument) Truthy() bool

type NokogiriNode ¶

type NokogiriNode struct {
	// contains filtered or unexported fields
}

NokogiriNode is the Ruby wrapper around a *nokogiri.Node — one DOM node (Nokogiri::XML::Node): an element, text, comment, CDATA or PI.

func (*NokogiriNode) Inspect ¶

func (n *NokogiriNode) Inspect() string

func (*NokogiriNode) ToS ¶

func (n *NokogiriNode) ToS() string

func (*NokogiriNode) Truthy ¶

func (n *NokogiriNode) Truthy() bool

type NokogiriNodeSet ¶

type NokogiriNodeSet struct {
	// contains filtered or unexported fields
}

NokogiriNodeSet is the Ruby wrapper around a *nokogiri.NodeSet — an ordered set of nodes (Nokogiri::XML::NodeSet), the result of a #css / #xpath query.

func (*NokogiriNodeSet) Inspect ¶

func (s *NokogiriNodeSet) Inspect() string

func (*NokogiriNodeSet) ToS ¶

func (s *NokogiriNodeSet) ToS() string

func (*NokogiriNodeSet) Truthy ¶

func (s *NokogiriNodeSet) Truthy() bool

type NokogiriXSLTStylesheet ¶

type NokogiriXSLTStylesheet struct {
	// contains filtered or unexported fields
}

NokogiriXSLTStylesheet is the Ruby wrapper around a *xslt.Stylesheet — a compiled XSLT 1.0 stylesheet (Nokogiri::XSLT::Stylesheet). The real transform engine lives in the github.com/go-ruby-xslt/xslt library, a pure-Go XSLT 1.0 processor over the go-ruby-nokogiri XML DOM + XPath engine (so the whole path stays CGO-free). This shell wires Nokogiri::XSLT(str) to a compiled stylesheet whose #transform(doc) returns a Nokogiri document and #apply_to(doc) returns the serialised output String, mirroring the gem's libxslt surface.

func (*NokogiriXSLTStylesheet) Inspect ¶

func (s *NokogiriXSLTStylesheet) Inspect() string

func (*NokogiriXSLTStylesheet) ToS ¶

func (s *NokogiriXSLTStylesheet) ToS() string

func (*NokogiriXSLTStylesheet) Truthy ¶

func (s *NokogiriXSLTStylesheet) Truthy() bool

type OAuth2AccessToken ¶

type OAuth2AccessToken struct {
	// contains filtered or unexported fields
}

OAuth2AccessToken wraps a *oauth2.AccessToken (token / refresh_token / expired? / to_hash), bound to its issuing client so #refresh can build the refresh request.

func (*OAuth2AccessToken) Inspect ¶

func (t *OAuth2AccessToken) Inspect() string

func (*OAuth2AccessToken) ToS ¶

func (t *OAuth2AccessToken) ToS() string

func (*OAuth2AccessToken) Truthy ¶

func (t *OAuth2AccessToken) Truthy() bool

type OAuth2Client ¶

type OAuth2Client struct {
	// contains filtered or unexported fields
}

OAuth2Client wraps a *oauth2.Client as a Ruby OAuth2::Client. The URL and request construction live in the github.com/go-ruby-oauth2/oauth2 library — the pure-Go core of the `oauth2` gem — and this shell reports the Ruby class (via classOf) and exposes the grant strategies. The HTTP round-trip itself is a host seam: get_token builds an OAuth2::Request the host performs via net/http.

func (*OAuth2Client) Inspect ¶

func (c *OAuth2Client) Inspect() string

func (*OAuth2Client) ToS ¶

func (c *OAuth2Client) ToS() string

func (*OAuth2Client) Truthy ¶

func (c *OAuth2Client) Truthy() bool

type OAuth2Request ¶

type OAuth2Request struct {
	// contains filtered or unexported fields
}

OAuth2Request wraps a *oauth2.Request — the deterministic token round-trip specification the host performs (method / url / body / headers).

func (*OAuth2Request) Inspect ¶

func (r *OAuth2Request) Inspect() string

func (*OAuth2Request) ToS ¶

func (r *OAuth2Request) ToS() string

func (*OAuth2Request) Truthy ¶

func (r *OAuth2Request) Truthy() bool

type OAuth2Response ¶

type OAuth2Response struct {
	// contains filtered or unexported fields
}

OAuth2Response wraps a *oauth2.Response (status / body / parsed).

func (*OAuth2Response) Inspect ¶

func (r *OAuth2Response) Inspect() string

func (*OAuth2Response) ToS ¶

func (r *OAuth2Response) ToS() string

func (*OAuth2Response) Truthy ¶

func (r *OAuth2Response) Truthy() bool

type OAuth2Strategy ¶

type OAuth2Strategy struct {
	// contains filtered or unexported fields
}

OAuth2Strategy wraps a grant strategy (auth_code / password / client_credentials / refresh / assertion). className is the Ruby class it reports, keyed by grant.

func (*OAuth2Strategy) Inspect ¶

func (s *OAuth2Strategy) Inspect() string

func (*OAuth2Strategy) ToS ¶

func (s *OAuth2Strategy) ToS() string

func (*OAuth2Strategy) Truthy ¶

func (s *OAuth2Strategy) Truthy() bool

type OIDCClaims ¶

type OIDCClaims struct {
	// contains filtered or unexported fields
}

OIDCClaims wraps the validated *oidc.IDTokenClaims of a verified ID token, reported as OpenIDConnect::IDTokenClaims.

func (*OIDCClaims) Inspect ¶

func (c *OIDCClaims) Inspect() string

func (*OIDCClaims) ToS ¶

func (c *OIDCClaims) ToS() string

func (*OIDCClaims) Truthy ¶

func (c *OIDCClaims) Truthy() bool

type OIDCClient ¶

type OIDCClient struct {
	// contains filtered or unexported fields
}

OIDCClient wraps an *oidc.Client driving the Authorization-Code + PKCE flow, reported as OpenIDConnect::Client.

func (*OIDCClient) Inspect ¶

func (c *OIDCClient) Inspect() string

func (*OIDCClient) ToS ¶

func (c *OIDCClient) ToS() string

func (*OIDCClient) Truthy ¶

func (c *OIDCClient) Truthy() bool

type OIDCKeySet ¶

type OIDCKeySet struct {
	// contains filtered or unexported fields
}

OIDCKeySet wraps a parsed *oidc.KeySet (a provider's JWKS), reported as OpenIDConnect::KeySet. It is a KeySource a Verifier resolves signing keys from.

func (*OIDCKeySet) Inspect ¶

func (k *OIDCKeySet) Inspect() string

func (*OIDCKeySet) ToS ¶

func (k *OIDCKeySet) ToS() string

func (*OIDCKeySet) Truthy ¶

func (k *OIDCKeySet) Truthy() bool

type OIDCProviderMetadata ¶

type OIDCProviderMetadata struct {
	// contains filtered or unexported fields
}

OIDCProviderMetadata wraps a parsed *oidc.ProviderMetadata (.well-known/openid-configuration), reported as OpenIDConnect::ProviderMetadata.

func (*OIDCProviderMetadata) Inspect ¶

func (m *OIDCProviderMetadata) Inspect() string

func (*OIDCProviderMetadata) ToS ¶

func (m *OIDCProviderMetadata) ToS() string

func (*OIDCProviderMetadata) Truthy ¶

func (m *OIDCProviderMetadata) Truthy() bool

type OIDCTokens ¶

type OIDCTokens struct {
	// contains filtered or unexported fields
}

OIDCTokens wraps the *oidc.Tokens result of a successful code exchange (access token + raw ID token + validated claims), reported as OpenIDConnect::Tokens.

func (*OIDCTokens) Inspect ¶

func (t *OIDCTokens) Inspect() string

func (*OIDCTokens) ToS ¶

func (t *OIDCTokens) ToS() string

func (*OIDCTokens) Truthy ¶

func (t *OIDCTokens) Truthy() bool

type OIDCUserInfo ¶

type OIDCUserInfo struct {
	// contains filtered or unexported fields
}

OIDCUserInfo wraps a parsed *oidc.UserInfo (the userinfo endpoint claims), reported as OpenIDConnect::UserInfo.

func (*OIDCUserInfo) Inspect ¶

func (u *OIDCUserInfo) Inspect() string

func (*OIDCUserInfo) ToS ¶

func (u *OIDCUserInfo) ToS() string

func (*OIDCUserInfo) Truthy ¶

func (u *OIDCUserInfo) Truthy() bool

type OIDCVerifier ¶

type OIDCVerifier struct {
	// contains filtered or unexported fields
}

OIDCVerifier wraps a configured *oidc.Verifier (issuer/aud/keys/secret + the optional nonce/at_hash/c_hash inputs), reported as OpenIDConnect::Verifier.

func (*OIDCVerifier) Inspect ¶

func (v *OIDCVerifier) Inspect() string

func (*OIDCVerifier) ToS ¶

func (v *OIDCVerifier) ToS() string

func (*OIDCVerifier) Truthy ¶

func (v *OIDCVerifier) Truthy() bool

type OTelExporter ¶

type OTelExporter struct {
	// contains filtered or unexported fields
}

OTelExporter is the Ruby wrapper around the in-memory span exporter.

func (*OTelExporter) Inspect ¶

func (e *OTelExporter) Inspect() string

func (*OTelExporter) ToS ¶

func (e *OTelExporter) ToS() string

func (*OTelExporter) Truthy ¶

func (e *OTelExporter) Truthy() bool

type OTelFinishedSpan ¶

type OTelFinishedSpan struct {
	// contains filtered or unexported fields
}

OTelFinishedSpan is the Ruby wrapper around a finished span's read-only snapshot (OpenTelemetry::SDK::Trace::SpanData).

func (*OTelFinishedSpan) Inspect ¶

func (s *OTelFinishedSpan) Inspect() string

func (*OTelFinishedSpan) ToS ¶

func (s *OTelFinishedSpan) ToS() string

func (*OTelFinishedSpan) Truthy ¶

func (s *OTelFinishedSpan) Truthy() bool

type OTelProcessor ¶

type OTelProcessor struct {
	// contains filtered or unexported fields
}

OTelProcessor is the Ruby wrapper around a span processor (simple or batch). It carries the class it reports so a Simple and a Batch processor answer their own class.

func (*OTelProcessor) Inspect ¶

func (p *OTelProcessor) Inspect() string

func (*OTelProcessor) ToS ¶

func (p *OTelProcessor) ToS() string

func (*OTelProcessor) Truthy ¶

func (p *OTelProcessor) Truthy() bool

type OTelSpan ¶

type OTelSpan struct {
	// contains filtered or unexported fields
}

OTelSpan is the Ruby wrapper around an OpenTelemetry::Trace::Span.

func (*OTelSpan) Inspect ¶

func (s *OTelSpan) Inspect() string

func (*OTelSpan) ToS ¶

func (s *OTelSpan) ToS() string

func (*OTelSpan) Truthy ¶

func (s *OTelSpan) Truthy() bool

type OTelSpanContext ¶

type OTelSpanContext struct {
	// contains filtered or unexported fields
}

OTelSpanContext is the Ruby wrapper around an OpenTelemetry::Trace::SpanContext.

func (*OTelSpanContext) Inspect ¶

func (c *OTelSpanContext) Inspect() string

func (*OTelSpanContext) ToS ¶

func (c *OTelSpanContext) ToS() string

func (*OTelSpanContext) Truthy ¶

func (c *OTelSpanContext) Truthy() bool

type OTelStatus ¶

type OTelStatus struct {
	// contains filtered or unexported fields
}

OTelStatus is the Ruby wrapper around an OpenTelemetry::Trace::Status.

func (*OTelStatus) Inspect ¶

func (s *OTelStatus) Inspect() string

func (*OTelStatus) ToS ¶

func (s *OTelStatus) ToS() string

func (*OTelStatus) Truthy ¶

func (s *OTelStatus) Truthy() bool

type OTelTracer ¶

type OTelTracer struct {
	// contains filtered or unexported fields
}

OTelTracer is the Ruby wrapper around an OpenTelemetry::Trace::Tracer.

func (*OTelTracer) Inspect ¶

func (t *OTelTracer) Inspect() string

func (*OTelTracer) ToS ¶

func (t *OTelTracer) ToS() string

func (*OTelTracer) Truthy ¶

func (t *OTelTracer) Truthy() bool

type OTelTracerProvider ¶

type OTelTracerProvider struct {
	// contains filtered or unexported fields
}

OTelTracerProvider is the Ruby wrapper around an OpenTelemetry tracer provider. It carries the SDK provider when one was configured (so add_span_processor is available) and the class it reports (the API provider by default, the SDK provider once OpenTelemetry::SDK::Trace::TracerProvider.new built it).

func (*OTelTracerProvider) Inspect ¶

func (p *OTelTracerProvider) Inspect() string

func (*OTelTracerProvider) ToS ¶

func (p *OTelTracerProvider) ToS() string

func (*OTelTracerProvider) Truthy ¶

func (p *OTelTracerProvider) Truthy() bool

type OmniAuthBuilder ¶

type OmniAuthBuilder struct {
	// contains filtered or unexported fields
}

OmniAuthBuilder is the Ruby wrapper around omniauth.Builder — the Rack::Builder with a `provider` DSL. Providers mounted by the new{…} block are recorded, and the middleware stack is assembled lazily on the first #call.

func (*OmniAuthBuilder) Inspect ¶

func (b *OmniAuthBuilder) Inspect() string

func (*OmniAuthBuilder) ToS ¶

func (b *OmniAuthBuilder) ToS() string

func (*OmniAuthBuilder) Truthy ¶

func (b *OmniAuthBuilder) Truthy() bool

type OmniAuthConfig ¶

type OmniAuthConfig struct {
	// contains filtered or unexported fields
}

OmniAuthConfig is the Ruby wrapper around the shared omniauth.Config the module exposes as OmniAuth.config.

func (*OmniAuthConfig) Inspect ¶

func (c *OmniAuthConfig) Inspect() string

func (*OmniAuthConfig) ToS ¶

func (c *OmniAuthConfig) ToS() string

func (*OmniAuthConfig) Truthy ¶

func (c *OmniAuthConfig) Truthy() bool

type OmniAuthHash ¶

type OmniAuthHash struct {
	// contains filtered or unexported fields
}

OmniAuthHash is the Ruby wrapper around an omniauth.AuthHash — the indifferent-access identity hash exposed at env["omniauth.auth"] and returned by OmniAuth::AuthHash.new.

func (*OmniAuthHash) Inspect ¶

func (h *OmniAuthHash) Inspect() string

func (*OmniAuthHash) ToS ¶

func (h *OmniAuthHash) ToS() string

func (*OmniAuthHash) Truthy ¶

func (h *OmniAuthHash) Truthy() bool

type OmniAuthMockAuth ¶

type OmniAuthMockAuth struct {
	// contains filtered or unexported fields
}

OmniAuthMockAuth is the live view OmniAuth.config.mock_auth returns: writing mock_auth[:provider] = hash records a mocked callback identity, and a Symbol value records a mocked failure key (OmniAuth's test-mode conventions).

func (*OmniAuthMockAuth) Inspect ¶

func (m *OmniAuthMockAuth) Inspect() string

func (*OmniAuthMockAuth) ToS ¶

func (m *OmniAuthMockAuth) ToS() string

func (*OmniAuthMockAuth) Truthy ¶

func (m *OmniAuthMockAuth) Truthy() bool

type OmniAuthStrategy ¶

type OmniAuthStrategy struct {
	// contains filtered or unexported fields
}

OmniAuthStrategy is the self a mounted provider's Ruby strategy body runs against for one phase. It carries the Rack env and the provider name and records a fail!(key) so omniPhase can take the failure flow.

func (*OmniAuthStrategy) Inspect ¶

func (s *OmniAuthStrategy) Inspect() string

func (*OmniAuthStrategy) ToS ¶

func (s *OmniAuthStrategy) ToS() string

func (*OmniAuthStrategy) Truthy ¶

func (s *OmniAuthStrategy) Truthy() bool

type OpenStackBlockStorage ¶

type OpenStackBlockStorage struct {
	// contains filtered or unexported fields
}

OpenStackBlockStorage wraps a *openstack.BlockStorage as OpenStack::BlockStorage.

func (*OpenStackBlockStorage) Inspect ¶

func (o *OpenStackBlockStorage) Inspect() string

func (*OpenStackBlockStorage) ToS ¶

func (o *OpenStackBlockStorage) ToS() string

func (*OpenStackBlockStorage) Truthy ¶

func (o *OpenStackBlockStorage) Truthy() bool

type OpenStackCompute ¶

type OpenStackCompute struct {
	// contains filtered or unexported fields
}

OpenStackCompute wraps a *openstack.Compute as a Ruby OpenStack::Compute.

func (*OpenStackCompute) Inspect ¶

func (o *OpenStackCompute) Inspect() string

func (*OpenStackCompute) ToS ¶

func (o *OpenStackCompute) ToS() string

func (*OpenStackCompute) Truthy ¶

func (o *OpenStackCompute) Truthy() bool

type OpenStackConnection ¶

type OpenStackConnection struct {
	// contains filtered or unexported fields
}

OpenStackConnection wraps a *openstack.Connection as a Ruby OpenStack::Connection. The authenticated session (token + service catalog) lives in the library; this shell only reports the Ruby class and hands out the service accessors.

func (*OpenStackConnection) Inspect ¶

func (o *OpenStackConnection) Inspect() string

func (*OpenStackConnection) ToS ¶

func (o *OpenStackConnection) ToS() string

func (*OpenStackConnection) Truthy ¶

func (o *OpenStackConnection) Truthy() bool

type OpenStackIdentity ¶

type OpenStackIdentity struct {
	// contains filtered or unexported fields
}

OpenStackIdentity wraps a *openstack.Identity as a Ruby OpenStack::Identity.

func (*OpenStackIdentity) Inspect ¶

func (o *OpenStackIdentity) Inspect() string

func (*OpenStackIdentity) ToS ¶

func (o *OpenStackIdentity) ToS() string

func (*OpenStackIdentity) Truthy ¶

func (o *OpenStackIdentity) Truthy() bool

type OpenStackImage ¶

type OpenStackImage struct {
	// contains filtered or unexported fields
}

OpenStackImage wraps a *openstack.Image as a Ruby OpenStack::Image.

func (*OpenStackImage) Inspect ¶

func (o *OpenStackImage) Inspect() string

func (*OpenStackImage) ToS ¶

func (o *OpenStackImage) ToS() string

func (*OpenStackImage) Truthy ¶

func (o *OpenStackImage) Truthy() bool

type OpenStackNetwork ¶

type OpenStackNetwork struct {
	// contains filtered or unexported fields
}

OpenStackNetwork wraps a *openstack.Network as a Ruby OpenStack::Network.

func (*OpenStackNetwork) Inspect ¶

func (o *OpenStackNetwork) Inspect() string

func (*OpenStackNetwork) ToS ¶

func (o *OpenStackNetwork) ToS() string

func (*OpenStackNetwork) Truthy ¶

func (o *OpenStackNetwork) Truthy() bool

type OpenStackObjectStorage ¶

type OpenStackObjectStorage struct {
	// contains filtered or unexported fields
}

OpenStackObjectStorage wraps a *openstack.ObjectStorage as OpenStack::ObjectStorage.

func (*OpenStackObjectStorage) Inspect ¶

func (o *OpenStackObjectStorage) Inspect() string

func (*OpenStackObjectStorage) ToS ¶

func (o *OpenStackObjectStorage) ToS() string

func (*OpenStackObjectStorage) Truthy ¶

func (o *OpenStackObjectStorage) Truthy() bool

type OptionParser ¶

type OptionParser struct {
	// contains filtered or unexported fields
}

OptionParser binds github.com/go-ruby-optparse/optparse — a pure-Go (cgo-free) reimplementation of the deterministic core of Ruby's OptionParser (require "optparse") — into rbgo, replacing the former pure-Ruby prelude implementation. The argv-parsing ENGINE (option specs, long/short/abbreviation matching, the =/bundled/--[no-]/optional-argument forms, Integer/Float/Array/list coercion, and the full OptionParser::ParseError taxonomy with MRI-exact messages) lives entirely in the library, ported from that prelude and validated against MRI 4.0.5. This file is the thin host wrapper: each on(*args, &block) call splits the Ruby block out (the library never runs blocks) and feeds the flag/coerce strings to optparse.MakeSpec/On; parse!/order!/permute!/getopts then run the library and dispatch the stored Ruby block for every returned Match, in order, with the coerced Value mapped back to a Ruby object. The ParseError class tree (the Ruby-object surface tests and Puppet's recover path touch) stays in the prelude; the parsing itself is the library.

The block-holding / Class-or-Array/Hash-coerce surface is the part that cannot live in the interpreter-independent library, so it is held here per parser: the blocks slice (indexed by spec index) and, for a candidate list, the original Ruby candidate objects so a matched key maps back to the very Symbol/String/… the program passed (MRI returns the original object, e.g. :big, not its name).

func (*OptionParser) Inspect ¶

func (o *OptionParser) Inspect() string

func (*OptionParser) ToS ¶

func (o *OptionParser) ToS() string

func (*OptionParser) Truthy ¶

func (o *OptionParser) Truthy() bool

type PGConnObj ¶

type PGConnObj struct {
	// contains filtered or unexported fields
}

PGConnObj is the Ruby wrapper around a *pg.Conn (PG::Connection). exec / exec_params / prepare / exec_prepared drive the v3 protocol over the injected IO seam; escape_string / quote_ident are pure string helpers.

func (*PGConnObj) Inspect ¶

func (c *PGConnObj) Inspect() string

func (*PGConnObj) ToS ¶

func (c *PGConnObj) ToS() string

func (*PGConnObj) Truthy ¶

func (c *PGConnObj) Truthy() bool

type PGResultObj ¶

type PGResultObj struct {
	// contains filtered or unexported fields
}

PGResultObj is the Ruby wrapper around a *pg.Result (PG::Result). ntuples / nfields / fields / getvalue / values / [] map straight onto the library's methods; a nil result (a bodyless command) is still a valid zero-row Result.

func (*PGResultObj) Inspect ¶

func (r *PGResultObj) Inspect() string

func (*PGResultObj) ToS ¶

func (r *PGResultObj) ToS() string

func (*PGResultObj) Truthy ¶

func (r *PGResultObj) Truthy() bool

type POP3Obj ¶

type POP3Obj struct {
	// contains filtered or unexported fields
}

POP3Obj is the Ruby wrapper around a *netpop.Conn (Net::POP3). It owns no socket: the Conn drives commands over the injected rubyPOPTransport seam.

func (*POP3Obj) Inspect ¶

func (o *POP3Obj) Inspect() string

func (*POP3Obj) ToS ¶

func (o *POP3Obj) ToS() string

func (*POP3Obj) Truthy ¶

func (o *POP3Obj) Truthy() bool

type POPMailObj ¶

type POPMailObj struct {
	// contains filtered or unexported fields
}

POPMailObj is the Ruby wrapper around a *netpop.POPMail (Net::POPMail). It holds a back-reference to its POP3Obj so #pop / #top / #delete drive the session's Conn; the parsed number / length / uid live in the library's POPMail model.

func (*POPMailObj) Inspect ¶

func (m *POPMailObj) Inspect() string

func (*POPMailObj) ToS ¶

func (m *POPMailObj) ToS() string

func (*POPMailObj) Truthy ¶

func (m *POPMailObj) Truthy() bool

type PStore ¶

type PStore struct {
	// contains filtered or unexported fields
}

PStore is the Ruby wrapper around a go-ruby-pstore Store. It is itself the Ruby object (like Set), holding its path, the library Store and — only while a transaction runs — the active Tx and a mutex for the thread_safe form.

func (*PStore) Inspect ¶

func (p *PStore) Inspect() string

func (*PStore) ToS ¶

func (p *PStore) ToS() string

func (*PStore) Truthy ¶

func (p *PStore) Truthy() bool

type PTProxy ¶

type PTProxy struct {
	// contains filtered or unexported fields
}

PTProxy is the Ruby wrapper behind model#paper_trail — the per-instance query facade (#versions / #previous_version / #next_version / #live?).

func (*PTProxy) Inspect ¶

func (p *PTProxy) Inspect() string

func (*PTProxy) ToS ¶

func (p *PTProxy) ToS() string

func (*PTProxy) Truthy ¶

func (p *PTProxy) Truthy() bool

type PTRequest ¶

type PTRequest struct {
	// contains filtered or unexported fields
}

PTRequest is the Ruby wrapper behind PaperTrail.request — the shared RequestContext carrying the whodunnit and the enabled toggle.

func (*PTRequest) Inspect ¶

func (r *PTRequest) Inspect() string

func (*PTRequest) ToS ¶

func (r *PTRequest) ToS() string

func (*PTRequest) Truthy ¶

func (r *PTRequest) Truthy() bool

type PTVersion ¶

type PTVersion struct {
	// contains filtered or unexported fields
}

PTVersion is the Ruby wrapper around a papertrail.Version bound to the model class it belongs to (so #reify can rebuild an instance and #previous_version / #next_version can resolve neighbours through that class's Tracker).

func (*PTVersion) Inspect ¶

func (v *PTVersion) Inspect() string

func (*PTVersion) ToS ¶

func (v *PTVersion) ToS() string

func (*PTVersion) Truthy ¶

func (v *PTVersion) Truthy() bool

type Pagy ¶

type Pagy struct {
	// contains filtered or unexported fields
}

Pagy wraps a *pagy.Pagy as a Ruby Pagy object. The whole page-set arithmetic — clamping the page, deriving the offset/limit and the from/to record window, capping the last page, the prev/next links and the navigation series with its gaps — lives in the github.com/go-ruby-pagy/pagy library; this shell only reports the Ruby class and delegates each reader (see pagy_bind.go). It is pure computation, so no ActiveRecord (or any collection) is needed.

func (*Pagy) Inspect ¶

func (p *Pagy) Inspect() string

func (*Pagy) ToS ¶

func (p *Pagy) ToS() string

func (*Pagy) Truthy ¶

func (p *Pagy) Truthy() bool

type ParquetReader ¶

type ParquetReader struct {
	// contains filtered or unexported fields
}

ParquetReader is the Ruby wrapper around a go-ruby-parquet ArrowFileReader.

func (*ParquetReader) Inspect ¶

func (r *ParquetReader) Inspect() string

func (*ParquetReader) ToS ¶

func (r *ParquetReader) ToS() string

func (*ParquetReader) Truthy ¶

func (r *ParquetReader) Truthy() bool

type ParquetWriter ¶

type ParquetWriter struct {
	// contains filtered or unexported fields
}

ParquetWriter is the Ruby wrapper around a go-ruby-parquet ArrowFileWriter. It always writes into an in-memory buffer; on #close it either flushes that buffer to the target path (path form) or returns the encoded bytes (in-memory form).

func (*ParquetWriter) Inspect ¶

func (w *ParquetWriter) Inspect() string

func (*ParquetWriter) ToS ¶

func (w *ParquetWriter) ToS() string

func (*ParquetWriter) Truthy ¶

func (w *ParquetWriter) Truthy() bool

type PraType ¶

type PraType struct {
	// contains filtered or unexported fields
}

PraType is a Ruby Puppet::ResourceApi::TypeDefinition instance: a handle over one compiled resourceapi.Type.

func (*PraType) Inspect ¶

func (o *PraType) Inspect() string

func (*PraType) ToS ¶

func (o *PraType) ToS() string

func (*PraType) Truthy ¶

func (o *PraType) Truthy() bool

type PrawnDocument ¶

type PrawnDocument struct {
	// contains filtered or unexported fields
}

PrawnDocument is an instance of Prawn::Document: a PDF being built, backed by a go-ruby-prawn *prawn.Document. Its drawing methods thread this wrapped document into the library; #render yields the finished PDF bytes.

func (*PrawnDocument) Inspect ¶

func (d *PrawnDocument) Inspect() string

Inspect renders the same fixed label as ToS.

func (*PrawnDocument) ToS ¶

func (d *PrawnDocument) ToS() string

ToS renders the fixed Prawn::Document label, matching a default Ruby #to_s for an opaque wrapped object.

func (*PrawnDocument) Truthy ¶

func (d *PrawnDocument) Truthy() bool

type PrettyPrint ¶

type PrettyPrint struct {
	// contains filtered or unexported fields
}

PrettyPrint is the Ruby wrapper around a *prettyprint.PrettyPrint buffer.

func (*PrettyPrint) Inspect ¶

func (p *PrettyPrint) Inspect() string

func (*PrettyPrint) ToS ¶

func (p *PrettyPrint) ToS() string

func (*PrettyPrint) Truthy ¶

func (p *PrettyPrint) Truthy() bool

type PrettyPrintGroup ¶

type PrettyPrintGroup struct {
	// contains filtered or unexported fields
}

PrettyPrintGroup is the wrapper for PrettyPrint#current_group's return value (MRI's PrettyPrint::Group). The engine's group is opaque, so the wrapper carries the depth the binding tracks across group_sub nesting, which is the only field MRI callers read (q.current_group.depth + 1).

func (*PrettyPrintGroup) Inspect ¶

func (g *PrettyPrintGroup) Inspect() string

func (*PrettyPrintGroup) ToS ¶

func (g *PrettyPrintGroup) ToS() string

func (*PrettyPrintGroup) Truthy ¶

func (g *PrettyPrintGroup) Truthy() bool

type Proc ¶

type Proc struct {
	// contains filtered or unexported fields
}

Proc is a captured block: its compiled body, the env it closes over, and the self it runs against. It is also a first-class Ruby value (implements object.Value), so a `&block` param can reify it and Proc#call can invoke it.

func (*Proc) Inspect ¶

func (p *Proc) Inspect() string

func (*Proc) ToS ¶

func (p *Proc) ToS() string

func (*Proc) Truthy ¶

func (p *Proc) Truthy() bool

type ProtobufBuilder ¶

type ProtobufBuilder struct {
	// contains filtered or unexported fields
}

ProtobufBuilder is the receiver of a pool.build block (add_message/add_enum). It is live only for the duration of the block: it wraps the library's *Builder, which is valid only inside the pool.Build callback rbgo runs the block within.

func (*ProtobufBuilder) Inspect ¶

func (o *ProtobufBuilder) Inspect() string

func (*ProtobufBuilder) ToS ¶

func (o *ProtobufBuilder) ToS() string

func (*ProtobufBuilder) Truthy ¶

func (o *ProtobufBuilder) Truthy() bool

type ProtobufDescriptor ¶

type ProtobufDescriptor struct {
	// contains filtered or unexported fields
}

ProtobufDescriptor is a Google::Protobuf::Descriptor (a message descriptor).

func (*ProtobufDescriptor) Inspect ¶

func (o *ProtobufDescriptor) Inspect() string

func (*ProtobufDescriptor) ToS ¶

func (o *ProtobufDescriptor) ToS() string

func (*ProtobufDescriptor) Truthy ¶

func (o *ProtobufDescriptor) Truthy() bool

type ProtobufEnumBuilder ¶

type ProtobufEnumBuilder struct {
	// contains filtered or unexported fields
}

ProtobufEnumBuilder is the receiver of an add_enum block (value). Live only inside it.

func (*ProtobufEnumBuilder) Inspect ¶

func (o *ProtobufEnumBuilder) Inspect() string

func (*ProtobufEnumBuilder) ToS ¶

func (o *ProtobufEnumBuilder) ToS() string

func (*ProtobufEnumBuilder) Truthy ¶

func (o *ProtobufEnumBuilder) Truthy() bool

type ProtobufEnumDescriptor ¶

type ProtobufEnumDescriptor struct {
	// contains filtered or unexported fields
}

ProtobufEnumDescriptor is a Google::Protobuf::EnumDescriptor.

func (*ProtobufEnumDescriptor) Inspect ¶

func (o *ProtobufEnumDescriptor) Inspect() string

func (*ProtobufEnumDescriptor) ToS ¶

func (o *ProtobufEnumDescriptor) ToS() string

func (*ProtobufEnumDescriptor) Truthy ¶

func (o *ProtobufEnumDescriptor) Truthy() bool

type ProtobufFieldDescriptor ¶

type ProtobufFieldDescriptor struct {
	// contains filtered or unexported fields
}

ProtobufFieldDescriptor is a Google::Protobuf::FieldDescriptor.

func (*ProtobufFieldDescriptor) Inspect ¶

func (o *ProtobufFieldDescriptor) Inspect() string

func (*ProtobufFieldDescriptor) ToS ¶

func (*ProtobufFieldDescriptor) Truthy ¶

func (o *ProtobufFieldDescriptor) Truthy() bool

type ProtobufMap ¶

type ProtobufMap struct {
	// contains filtered or unexported fields
}

ProtobufMap is a Google::Protobuf::Map (a typed map).

func (*ProtobufMap) Inspect ¶

func (o *ProtobufMap) Inspect() string

func (*ProtobufMap) ToS ¶

func (o *ProtobufMap) ToS() string

func (*ProtobufMap) Truthy ¶

func (o *ProtobufMap) Truthy() bool

type ProtobufMessage ¶

type ProtobufMessage struct {
	// contains filtered or unexported fields
}

ProtobufMessage is a message instance: a dynamicpb dynamic message wrapped so its fields are read/written through method_missing accessors and it encodes and decodes through the canonical runtime.

func (*ProtobufMessage) Inspect ¶

func (o *ProtobufMessage) Inspect() string

func (*ProtobufMessage) ToS ¶

func (o *ProtobufMessage) ToS() string

func (*ProtobufMessage) Truthy ¶

func (o *ProtobufMessage) Truthy() bool

type ProtobufMessageBuilder ¶

type ProtobufMessageBuilder struct {
	// contains filtered or unexported fields
}

ProtobufMessageBuilder is the receiver of an add_message block (optional/repeated/map/oneof). Live only inside that block.

func (*ProtobufMessageBuilder) Inspect ¶

func (o *ProtobufMessageBuilder) Inspect() string

func (*ProtobufMessageBuilder) ToS ¶

func (o *ProtobufMessageBuilder) ToS() string

func (*ProtobufMessageBuilder) Truthy ¶

func (o *ProtobufMessageBuilder) Truthy() bool

type ProtobufMsgClass ¶

type ProtobufMsgClass struct {
	// contains filtered or unexported fields
}

ProtobufMsgClass is a generated message class (descriptor.msgclass): the value a Ruby program calls .new / .name / .descriptor on.

func (*ProtobufMsgClass) Inspect ¶

func (o *ProtobufMsgClass) Inspect() string

func (*ProtobufMsgClass) ToS ¶

func (o *ProtobufMsgClass) ToS() string

func (*ProtobufMsgClass) Truthy ¶

func (o *ProtobufMsgClass) Truthy() bool

type ProtobufOneofBuilder ¶

type ProtobufOneofBuilder struct {
	// contains filtered or unexported fields
}

ProtobufOneofBuilder is the receiver of a oneof block. Live only inside it.

func (*ProtobufOneofBuilder) Inspect ¶

func (o *ProtobufOneofBuilder) Inspect() string

func (*ProtobufOneofBuilder) ToS ¶

func (o *ProtobufOneofBuilder) ToS() string

func (*ProtobufOneofBuilder) Truthy ¶

func (o *ProtobufOneofBuilder) Truthy() bool

type ProtobufPool ¶

type ProtobufPool struct {
	// contains filtered or unexported fields
}

ProtobufPool is a Google::Protobuf::DescriptorPool: a registry of descriptors.

func (*ProtobufPool) Inspect ¶

func (o *ProtobufPool) Inspect() string

func (*ProtobufPool) ToS ¶

func (o *ProtobufPool) ToS() string

func (*ProtobufPool) Truthy ¶

func (o *ProtobufPool) Truthy() bool

type ProtobufRepeatedField ¶

type ProtobufRepeatedField struct {
	// contains filtered or unexported fields
}

ProtobufRepeatedField is a Google::Protobuf::RepeatedField (a typed list).

func (*ProtobufRepeatedField) Inspect ¶

func (o *ProtobufRepeatedField) Inspect() string

func (*ProtobufRepeatedField) ToS ¶

func (o *ProtobufRepeatedField) ToS() string

func (*ProtobufRepeatedField) Truthy ¶

func (o *ProtobufRepeatedField) Truthy() bool

type PublicSuffixDomain ¶

type PublicSuffixDomain struct {
	// contains filtered or unexported fields
}

PublicSuffixDomain wraps a *publicsuffix.Domain as a Ruby PublicSuffix::Domain object. The Public-Suffix-List decomposition (tld / sld / trd and the registrable-domain / subdomain views) lives in the github.com/go-ruby-public-suffix/public-suffix library; this shell only reports the Ruby class and delegates each reader (see publicsuffix_bind.go).

func (*PublicSuffixDomain) Inspect ¶

func (d *PublicSuffixDomain) Inspect() string

func (*PublicSuffixDomain) ToS ¶

func (d *PublicSuffixDomain) ToS() string

func (*PublicSuffixDomain) Truthy ¶

func (d *PublicSuffixDomain) Truthy() bool

type PumaConfiguration ¶

type PumaConfiguration struct {
	// contains filtered or unexported fields
}

PumaConfiguration is the Ruby wrapper around a go-ruby-puma Configuration, the evaluated result of a Puma::Configuration.new config block.

func (*PumaConfiguration) Inspect ¶

func (c *PumaConfiguration) Inspect() string

func (*PumaConfiguration) ToS ¶

func (c *PumaConfiguration) ToS() string

func (*PumaConfiguration) Truthy ¶

func (c *PumaConfiguration) Truthy() bool

type PumaDSL ¶

type PumaDSL struct {
	// contains filtered or unexported fields
}

PumaDSL is the Ruby wrapper around a go-ruby-puma DSL, the receiver yielded to a Puma::Configuration.new block.

func (*PumaDSL) Inspect ¶

func (d *PumaDSL) Inspect() string

func (*PumaDSL) ToS ¶

func (d *PumaDSL) ToS() string

func (*PumaDSL) Truthy ¶

func (d *PumaDSL) Truthy() bool

type PumaServer ¶

type PumaServer struct {
	// contains filtered or unexported fields
}

PumaServer is the Ruby wrapper around a go-ruby-puma Server bound to a Ruby Rack app. addr is the listener address recorded by #run, nil before the server is started.

func (*PumaServer) Inspect ¶

func (s *PumaServer) Inspect() string

func (*PumaServer) ToS ¶

func (s *PumaServer) ToS() string

func (*PumaServer) Truthy ¶

func (s *PumaServer) Truthy() bool

type PumaThreadPool ¶

type PumaThreadPool struct {
	// contains filtered or unexported fields
}

PumaThreadPool is the Ruby wrapper around a go-ruby-puma ThreadPool, the pool Server#thread_pool returns.

func (*PumaThreadPool) Inspect ¶

func (p *PumaThreadPool) Inspect() string

func (*PumaThreadPool) ToS ¶

func (p *PumaThreadPool) ToS() string

func (*PumaThreadPool) Truthy ¶

func (p *PumaThreadPool) Truthy() bool

type PuppetCatalog ¶

type PuppetCatalog struct {
	// contains filtered or unexported fields
}

PuppetCatalog is a compiled Puppet catalog (Puppet::Resource::Catalog): the resources, their containment/ordering edges, the compile logs and a JSON view.

func (*PuppetCatalog) Inspect ¶

func (o *PuppetCatalog) Inspect() string

func (*PuppetCatalog) ToS ¶

func (o *PuppetCatalog) ToS() string

func (*PuppetCatalog) Truthy ¶

func (o *PuppetCatalog) Truthy() bool

type PuppetResource ¶

type PuppetResource struct {
	// contains filtered or unexported fields
}

PuppetResource is one compiled catalog resource (Puppet::Resource): its type, title, parameters and tags.

func (*PuppetResource) Inspect ¶

func (o *PuppetResource) Inspect() string

func (*PuppetResource) ToS ¶

func (o *PuppetResource) ToS() string

func (*PuppetResource) Truthy ¶

func (o *PuppetResource) Truthy() bool

type RClass ¶

type RClass struct {
	// contains filtered or unexported fields
}

RClass is a class (the live, mutable method table that makes monkey-patching, define_method and method_missing fall out for free).

func (*RClass) Inspect ¶

func (c *RClass) Inspect() string

func (*RClass) ToS ¶

func (c *RClass) ToS() string

func (*RClass) Truthy ¶

func (c *RClass) Truthy() bool

type RConnectionPool ¶

type RConnectionPool struct {
	// contains filtered or unexported fields
}

RConnectionPool is an instance of ConnectionPool: a thread-safe pool of reusable connections backed by a go-ruby-connection-pool *cp.ConnectionPool. Connections are created lazily by running the block captured at construction (factory), up to size of them, and a checkout blocks up to timeout before raising ConnectionPool::TimeoutError.

func (*RConnectionPool) Inspect ¶

func (p *RConnectionPool) Inspect() string

func (*RConnectionPool) ToS ¶

func (p *RConnectionPool) ToS() string

func (*RConnectionPool) Truthy ¶

func (p *RConnectionPool) Truthy() bool

type RConnectionPoolWrapper ¶

type RConnectionPoolWrapper struct {
	// contains filtered or unexported fields
}

RConnectionPoolWrapper is an instance of ConnectionPool::Wrapper: a delegating façade over a pool that checks a connection out for the duration of every delegated call. It is backed by a go-ruby-connection-pool *cp.Wrapper wired to Ruby's send (dispatch) and to the current-thread caller key (keyFn); pool is the Ruby ConnectionPool it wraps, returned by #wrapped_pool.

func (*RConnectionPoolWrapper) Inspect ¶

func (w *RConnectionPoolWrapper) Inspect() string

func (*RConnectionPoolWrapper) ToS ¶

func (w *RConnectionPoolWrapper) ToS() string

func (*RConnectionPoolWrapper) Truthy ¶

func (w *RConnectionPoolWrapper) Truthy() bool

type RDocFormatter ¶

type RDocFormatter struct {
	// contains filtered or unexported fields
}

RDocFormatter wraps an RDoc::Markup output formatter. kind selects the target syntax the library renders to ("html" / "markdown" / "rdoc"); clsName is the Ruby class the wrapper reports (RDoc::Markup::ToHtml / ToMarkdown / ToRdoc), so classOf and RDoc::Markup#convert both resolve the formatter by its class.

func (*RDocFormatter) Inspect ¶

func (v *RDocFormatter) Inspect() string

func (*RDocFormatter) ToS ¶

func (v *RDocFormatter) ToS() string

func (*RDocFormatter) Truthy ¶

func (v *RDocFormatter) Truthy() bool

type RDocMarkup ¶

type RDocMarkup struct{}

RDocMarkup wraps an RDoc::Markup driver. It is stateless — RDoc::Markup#convert renders through whichever formatter it is given — so the wrapper carries no fields, matching the gem where a fresh RDoc::Markup holds only its (default here) attribute rules.

func (*RDocMarkup) Inspect ¶

func (v *RDocMarkup) Inspect() string

func (*RDocMarkup) ToS ¶

func (v *RDocMarkup) ToS() string

func (*RDocMarkup) Truthy ¶

func (v *RDocMarkup) Truthy() bool

type REXMLAttributes ¶

type REXMLAttributes struct {
	// contains filtered or unexported fields
}

REXMLAttributes wraps an *rexml.Attributes (and its owning element, so [] and each can resolve qualified names) — REXML::Attributes.

func (*REXMLAttributes) Inspect ¶

func (n *REXMLAttributes) Inspect() string

func (*REXMLAttributes) ToS ¶

func (n *REXMLAttributes) ToS() string

func (*REXMLAttributes) Truthy ¶

func (n *REXMLAttributes) Truthy() bool

type REXMLCData ¶

type REXMLCData struct {
	// contains filtered or unexported fields
}

REXMLCData wraps a *rexml.CData — REXML::CData. #to_s is its verbatim content.

func (*REXMLCData) Inspect ¶

func (n *REXMLCData) Inspect() string

func (*REXMLCData) ToS ¶

func (n *REXMLCData) ToS() string

func (*REXMLCData) Truthy ¶

func (n *REXMLCData) Truthy() bool

type REXMLComment ¶

type REXMLComment struct {
	// contains filtered or unexported fields
}

REXMLComment wraps a *rexml.Comment — REXML::Comment. #to_s is its verbatim content (MRI's Comment#to_s, without the <!-- --> delimiters).

func (*REXMLComment) Inspect ¶

func (n *REXMLComment) Inspect() string

func (*REXMLComment) ToS ¶

func (n *REXMLComment) ToS() string

func (*REXMLComment) Truthy ¶

func (n *REXMLComment) Truthy() bool

type REXMLDocType ¶

type REXMLDocType struct {
	// contains filtered or unexported fields
}

REXMLDocType wraps a *rexml.DocType — REXML::DocType. It is a leaf value node: it does not implement REXMLNode's node(), since the supported XPath subset does not take a DocType as a context (passing one to XPath raises TypeError).

func (*REXMLDocType) Inspect ¶

func (n *REXMLDocType) Inspect() string

func (*REXMLDocType) ToS ¶

func (n *REXMLDocType) ToS() string

func (*REXMLDocType) Truthy ¶

func (n *REXMLDocType) Truthy() bool

type REXMLDocument ¶

type REXMLDocument struct {
	// contains filtered or unexported fields
}

REXMLDocument wraps a *rexml.Document — REXML::Document, the tree root.

func (*REXMLDocument) Inspect ¶

func (n *REXMLDocument) Inspect() string

Inspect mirrors MRI's Document#inspect: the root is always shown as the placeholder "<UNDEFINED>" — "<UNDEFINED> ... </>" when the document has a root element, "<UNDEFINED/>" for an empty document.

func (*REXMLDocument) ToS ¶

func (n *REXMLDocument) ToS() string

func (*REXMLDocument) Truthy ¶

func (n *REXMLDocument) Truthy() bool

type REXMLElement ¶

type REXMLElement struct {
	// contains filtered or unexported fields
}

REXMLElement wraps a *rexml.Element — REXML::Element.

func (*REXMLElement) Inspect ¶

func (n *REXMLElement) Inspect() string

Inspect mirrors MRI's Element#inspect: "<qname attrs> ... </>" for an element with children, "<qname attrs/>" for an empty one.

func (*REXMLElement) ToS ¶

func (n *REXMLElement) ToS() string

func (*REXMLElement) Truthy ¶

func (n *REXMLElement) Truthy() bool

type REXMLElements ¶

type REXMLElements struct {
	// contains filtered or unexported fields
}

REXMLElements is the proxy REXML::Element#elements returns — REXML::Elements. It separates child-element navigation (elements[path] / each / add) from the element's own [] (which reads an attribute). It carries the owning element.

func (*REXMLElements) Inspect ¶

func (n *REXMLElements) Inspect() string

func (*REXMLElements) ToS ¶

func (n *REXMLElements) ToS() string

func (*REXMLElements) Truthy ¶

func (n *REXMLElements) Truthy() bool

type REXMLInstruction ¶

type REXMLInstruction struct {
	// contains filtered or unexported fields
}

REXMLInstruction wraps a *rexml.Instruction — REXML::Instruction (a PI).

func (*REXMLInstruction) Inspect ¶

func (n *REXMLInstruction) Inspect() string

func (*REXMLInstruction) ToS ¶

func (n *REXMLInstruction) ToS() string

func (*REXMLInstruction) Truthy ¶

func (n *REXMLInstruction) Truthy() bool

type REXMLNode ¶

type REXMLNode interface {
	object.Value
	// contains filtered or unexported methods
}

REXMLNode is the common interface of every REXML::* wrapper: it carries the underlying library node and renders Ruby #to_s / #inspect. classOf reports the concrete Ruby class (REXML::Element, REXML::Text, …) for each wrapper.

type REXMLText ¶

type REXMLText struct {
	// contains filtered or unexported fields
}

REXMLText wraps a *rexml.Text — REXML::Text. #to_s yields the escaped (raw) form, #value the decoded form, matching MRI.

func (*REXMLText) Inspect ¶

func (n *REXMLText) Inspect() string

func (*REXMLText) ToS ¶

func (n *REXMLText) ToS() string

func (*REXMLText) Truthy ¶

func (n *REXMLText) Truthy() bool

type RMutex ¶

type RMutex struct {
	// contains filtered or unexported fields
}

RMutex backs a Ruby Mutex (Thread::Mutex).

func (*RMutex) Inspect ¶

func (m *RMutex) Inspect() string

func (*RMutex) ToS ¶

func (m *RMutex) ToS() string

func (*RMutex) Truthy ¶

func (m *RMutex) Truthy() bool

type RObject ¶

type RObject struct {
	// contains filtered or unexported fields
}

RObject is an ordinary instance: a class plus instance variables, and an optional singleton class holding per-object methods (def obj.x, define_singleton_method, extend).

func (*RObject) HashUnwrap ¶

func (o *RObject) HashUnwrap() (object.Value, bool)

HashUnwrap exposes the wrapped value so a built-in value subclass instance used as a Hash key hashes and compares as that value (object.KeyUnwrapper).

func (*RObject) Inspect ¶

func (o *RObject) Inspect() string

func (*RObject) ToS ¶

func (o *RObject) ToS() string

func (*RObject) Truthy ¶

func (o *RObject) Truthy() bool

type RQRCode ¶

type RQRCode struct {
	// contains filtered or unexported fields
}

RQRCode is the Ruby wrapper around a *rqrcode.QRCode. RQRCode::QRCode.new(data, level:, size:, mode:) builds one, and its methods mirror the rqrcode gem: #modules / #to_a return the module matrix as an Array of Arrays of booleans, #checked?(row, col) reports a single dark module, and #as_svg / #as_ansi / #as_html / #to_s render it. The generator and renderers live entirely in the github.com/go-ruby-rqrcode/rqrcode library (see rqrcode_bind.go); this file is the thin wiring plus the RQRCode module namespace.

func (*RQRCode) Inspect ¶

func (r *RQRCode) Inspect() string

func (*RQRCode) ToS ¶

func (r *RQRCode) ToS() string

func (*RQRCode) Truthy ¶

func (r *RQRCode) Truthy() bool

type RQueue ¶

type RQueue struct {
	// contains filtered or unexported fields
}

RQueue backs a Ruby Queue (Thread::Queue): an unbounded thread-safe FIFO.

func (*RQueue) Inspect ¶

func (q *RQueue) Inspect() string

func (*RQueue) ToS ¶

func (q *RQueue) ToS() string

func (*RQueue) Truthy ¶

func (q *RQueue) Truthy() bool

type RSSAtomCategory ¶

type RSSAtomCategory struct {
	// contains filtered or unexported fields
}

func (*RSSAtomCategory) Inspect ¶

func (v *RSSAtomCategory) Inspect() string

func (*RSSAtomCategory) ToS ¶

func (v *RSSAtomCategory) ToS() string

func (*RSSAtomCategory) Truthy ¶

func (v *RSSAtomCategory) Truthy() bool

type RSSAtomEntry ¶

type RSSAtomEntry struct {
	// contains filtered or unexported fields
}

func (*RSSAtomEntry) Inspect ¶

func (v *RSSAtomEntry) Inspect() string

func (*RSSAtomEntry) ToS ¶

func (v *RSSAtomEntry) ToS() string

func (*RSSAtomEntry) Truthy ¶

func (v *RSSAtomEntry) Truthy() bool

type RSSAtomFeed ¶

type RSSAtomFeed struct {
	// contains filtered or unexported fields
}

func (*RSSAtomFeed) Inspect ¶

func (v *RSSAtomFeed) Inspect() string

func (*RSSAtomFeed) ToS ¶

func (v *RSSAtomFeed) ToS() string

func (*RSSAtomFeed) Truthy ¶

func (v *RSSAtomFeed) Truthy() bool
type RSSAtomLink struct {
	// contains filtered or unexported fields
}

func (*RSSAtomLink) Inspect ¶

func (v *RSSAtomLink) Inspect() string

func (*RSSAtomLink) ToS ¶

func (v *RSSAtomLink) ToS() string

func (*RSSAtomLink) Truthy ¶

func (v *RSSAtomLink) Truthy() bool

type RSSAtomPerson ¶

type RSSAtomPerson struct {
	// contains filtered or unexported fields
}

func (*RSSAtomPerson) Inspect ¶

func (v *RSSAtomPerson) Inspect() string

func (*RSSAtomPerson) ToS ¶

func (v *RSSAtomPerson) ToS() string

func (*RSSAtomPerson) Truthy ¶

func (v *RSSAtomPerson) Truthy() bool

type RSSChannel ¶

type RSSChannel struct {
	// contains filtered or unexported fields
}

func (*RSSChannel) Inspect ¶

func (v *RSSChannel) Inspect() string

func (*RSSChannel) ToS ¶

func (v *RSSChannel) ToS() string

func (*RSSChannel) Truthy ¶

func (v *RSSChannel) Truthy() bool

type RSSGuid ¶

type RSSGuid struct {
	// contains filtered or unexported fields
}

func (*RSSGuid) Inspect ¶

func (v *RSSGuid) Inspect() string

func (*RSSGuid) ToS ¶

func (v *RSSGuid) ToS() string

func (*RSSGuid) Truthy ¶

func (v *RSSGuid) Truthy() bool

type RSSImage ¶

type RSSImage struct {
	// contains filtered or unexported fields
}

func (*RSSImage) Inspect ¶

func (v *RSSImage) Inspect() string

func (*RSSImage) ToS ¶

func (v *RSSImage) ToS() string

func (*RSSImage) Truthy ¶

func (v *RSSImage) Truthy() bool

type RSSItem ¶

type RSSItem struct {
	// contains filtered or unexported fields
}

func (*RSSItem) Inspect ¶

func (v *RSSItem) Inspect() string

func (*RSSItem) ToS ¶

func (v *RSSItem) ToS() string

func (*RSSItem) Truthy ¶

func (v *RSSItem) Truthy() bool

type RSSRDF ¶

type RSSRDF struct {
	// contains filtered or unexported fields
}

func (*RSSRDF) Inspect ¶

func (v *RSSRDF) Inspect() string

func (*RSSRDF) ToS ¶

func (v *RSSRDF) ToS() string

func (*RSSRDF) Truthy ¶

func (v *RSSRDF) Truthy() bool

type RSSRDFChannel ¶

type RSSRDFChannel struct {
	// contains filtered or unexported fields
}

func (*RSSRDFChannel) Inspect ¶

func (v *RSSRDFChannel) Inspect() string

func (*RSSRDFChannel) ToS ¶

func (v *RSSRDFChannel) ToS() string

func (*RSSRDFChannel) Truthy ¶

func (v *RSSRDFChannel) Truthy() bool

type RSSRDFImage ¶

type RSSRDFImage struct {
	// contains filtered or unexported fields
}

func (*RSSRDFImage) Inspect ¶

func (v *RSSRDFImage) Inspect() string

func (*RSSRDFImage) ToS ¶

func (v *RSSRDFImage) ToS() string

func (*RSSRDFImage) Truthy ¶

func (v *RSSRDFImage) Truthy() bool

type RSSRDFItem ¶

type RSSRDFItem struct {
	// contains filtered or unexported fields
}

func (*RSSRDFItem) Inspect ¶

func (v *RSSRDFItem) Inspect() string

func (*RSSRDFItem) ToS ¶

func (v *RSSRDFItem) ToS() string

func (*RSSRDFItem) Truthy ¶

func (v *RSSRDFItem) Truthy() bool

type RSSRDFTextinput ¶

type RSSRDFTextinput struct {
	// contains filtered or unexported fields
}

func (*RSSRDFTextinput) Inspect ¶

func (v *RSSRDFTextinput) Inspect() string

func (*RSSRDFTextinput) ToS ¶

func (v *RSSRDFTextinput) ToS() string

func (*RSSRDFTextinput) Truthy ¶

func (v *RSSRDFTextinput) Truthy() bool

type RSSRss ¶

type RSSRss struct {
	// contains filtered or unexported fields
}

func (*RSSRss) Inspect ¶

func (v *RSSRss) Inspect() string

func (*RSSRss) ToS ¶

func (v *RSSRss) ToS() string

func (*RSSRss) Truthy ¶

func (v *RSSRss) Truthy() bool

type RSpecExpectation ¶

type RSpecExpectation struct {
	// contains filtered or unexported fields
}

RSpecExpectation is the Ruby wrapper around an `expect(actual)` / `expect { block }` target: `.to(matcher)` / `.not_to(matcher)` run the matcher and raise RSpec::Expectations::ExpectationNotMetError on failure. A block target carries the Proc so a block matcher (raise_error) can observe the block's execution — the one place the rbgo eval seam is driven from the matcher surface.

func (*RSpecExpectation) Inspect ¶

func (e *RSpecExpectation) Inspect() string

func (*RSpecExpectation) ToS ¶

func (e *RSpecExpectation) ToS() string

func (*RSpecExpectation) Truthy ¶

func (e *RSpecExpectation) Truthy() bool

type RSpecMatcher ¶

type RSpecMatcher struct {
	// contains filtered or unexported fields
}

RSpecMatcher is the Ruby wrapper around an rspec.Matcher — an RSpec matcher object (the result of eq / be / include / match / …). Its match logic and byte-faithful failure messages live in the github.com/go-ruby-rspec/rspec library (the deterministic, interpreter-independent core of rspec-expectations); this shell exposes matches? / failure_message / failure_message_when_negated / description and the chainable refinements (be_within(d).of(x), respond_to(:m).with(n)). Running the it / describe / hook bodies is the rbgo eval seam and is not modelled here.

func (*RSpecMatcher) Inspect ¶

func (m *RSpecMatcher) Inspect() string

func (*RSpecMatcher) ToS ¶

func (m *RSpecMatcher) ToS() string

func (*RSpecMatcher) Truthy ¶

func (m *RSpecMatcher) Truthy() bool

type RThread ¶

type RThread struct {
	// contains filtered or unexported fields
}

RThread backs a Ruby Thread.

func (*RThread) Inspect ¶

func (t *RThread) Inspect() string

func (*RThread) ToS ¶

func (t *RThread) ToS() string

func (*RThread) Truthy ¶

func (t *RThread) Truthy() bool

type RackRequest ¶

type RackRequest struct {
	// contains filtered or unexported fields
}

RackRequest is the Ruby wrapper around a *rack.Request — the read-mostly view over a Rack env (Rack::Request). The env parsing, query decoding and header normalisation all live in github.com/go-ruby-rack/rack; this shell exposes the accessor surface (#path_info / #request_method / #params / …) to Ruby. The wrapper carries its own class so classOf reports Rack::Request.

func (*RackRequest) Inspect ¶

func (r *RackRequest) Inspect() string

func (*RackRequest) ToS ¶

func (r *RackRequest) ToS() string

func (*RackRequest) Truthy ¶

func (r *RackRequest) Truthy() bool

type RackResponse ¶

type RackResponse struct {
	// contains filtered or unexported fields
}

RackResponse is the Ruby wrapper around a *rack.Response — the buffered status/headers/body a handler assembles (Rack::Response), yielding the SPEC [status, headers, body] triple through #finish / #to_a.

func (*RackResponse) Inspect ¶

func (r *RackResponse) Inspect() string

func (*RackResponse) ToS ¶

func (r *RackResponse) ToS() string

func (*RackResponse) Truthy ¶

func (r *RackResponse) Truthy() bool

type RailsAppVal ¶

type RailsAppVal struct {
	// contains filtered or unexported fields
}

RailsAppVal wraps a *railties.Application (Rails::Application).

func (*RailsAppVal) Inspect ¶

func (v *RailsAppVal) Inspect() string

func (*RailsAppVal) ToS ¶

func (v *RailsAppVal) ToS() string

func (*RailsAppVal) Truthy ¶

func (v *RailsAppVal) Truthy() bool

type RailsConfigVal ¶

type RailsConfigVal struct {
	// contains filtered or unexported fields
}

RailsConfigVal wraps a railtie/engine/application configuration: cfg is always the dynamic key/value bag (config.foo = x); eng and app are the richer typed views, non-nil only when the owner is an Engine (paths/root) or Application (load_defaults/eager_load) respectively.

func (*RailsConfigVal) Inspect ¶

func (v *RailsConfigVal) Inspect() string

func (*RailsConfigVal) ToS ¶

func (v *RailsConfigVal) ToS() string

func (*RailsConfigVal) Truthy ¶

func (v *RailsConfigVal) Truthy() bool

type RailsEnvVal ¶

type RailsEnvVal struct {
	// contains filtered or unexported fields
}

RailsEnvVal wraps a rails.EnvironmentInquirer (Rails::EnvironmentInquirer, a Rails::StringInquirer subclass): the value Rails.env returns so `env.production?` and `env.local?` read naturally.

func (*RailsEnvVal) Inspect ¶

func (v *RailsEnvVal) Inspect() string

func (*RailsEnvVal) ToS ¶

func (v *RailsEnvVal) ToS() string

func (*RailsEnvVal) Truthy ¶

func (v *RailsEnvVal) Truthy() bool

type RailsInitializerVal ¶

type RailsInitializerVal struct {
	// contains filtered or unexported fields
}

RailsInitializerVal wraps a *railties.Initializer (Rails::Initializable::Initializer).

func (*RailsInitializerVal) Inspect ¶

func (v *RailsInitializerVal) Inspect() string

func (*RailsInitializerVal) ToS ¶

func (v *RailsInitializerVal) ToS() string

func (*RailsInitializerVal) Truthy ¶

func (v *RailsInitializerVal) Truthy() bool

type RailsPathVal ¶

type RailsPathVal struct {
	// contains filtered or unexported fields
}

RailsPathVal wraps a *railties.Path (Rails::Paths::Path).

func (*RailsPathVal) Inspect ¶

func (v *RailsPathVal) Inspect() string

func (*RailsPathVal) ToS ¶

func (v *RailsPathVal) ToS() string

func (*RailsPathVal) Truthy ¶

func (v *RailsPathVal) Truthy() bool

type RailsPathsVal ¶

type RailsPathsVal struct {
	// contains filtered or unexported fields
}

RailsPathsVal wraps a *railties.PathsRoot (Rails::Paths::Root).

func (*RailsPathsVal) Inspect ¶

func (v *RailsPathsVal) Inspect() string

func (*RailsPathsVal) ToS ¶

func (v *RailsPathsVal) ToS() string

func (*RailsPathsVal) Truthy ¶

func (v *RailsPathsVal) Truthy() bool

type RailsRouteSetVal ¶

type RailsRouteSetVal struct {
	// contains filtered or unexported fields
}

RailsRouteSetVal wraps a *railties.RouteSet (Rails::Engine::RouteSet).

func (*RailsRouteSetVal) Inspect ¶

func (v *RailsRouteSetVal) Inspect() string

func (*RailsRouteSetVal) ToS ¶

func (v *RailsRouteSetVal) ToS() string

func (*RailsRouteSetVal) Truthy ¶

func (v *RailsRouteSetVal) Truthy() bool

type RailtieVal ¶

type RailtieVal struct {
	// contains filtered or unexported fields
}

RailtieVal wraps a *railties.Railtie (Rails::Railtie).

func (*RailtieVal) Inspect ¶

func (v *RailtieVal) Inspect() string

func (*RailtieVal) ToS ¶

func (v *RailtieVal) ToS() string

func (*RailtieVal) Truthy ¶

func (v *RailtieVal) Truthy() bool

type RakeApplicationVal ¶

type RakeApplicationVal struct {
	// contains filtered or unexported fields
}

RakeApplicationVal wraps a *rake.Application task registry (Rake::Application).

func (*RakeApplicationVal) Inspect ¶

func (v *RakeApplicationVal) Inspect() string

func (*RakeApplicationVal) ToS ¶

func (v *RakeApplicationVal) ToS() string

func (*RakeApplicationVal) Truthy ¶

func (v *RakeApplicationVal) Truthy() bool

type RakeFileListVal ¶

type RakeFileListVal struct {
	// contains filtered or unexported fields
}

RakeFileListVal wraps a *rake.FileList (Rake::FileList).

func (*RakeFileListVal) Inspect ¶

func (v *RakeFileListVal) Inspect() string

func (*RakeFileListVal) ToS ¶

func (v *RakeFileListVal) ToS() string

func (*RakeFileListVal) Truthy ¶

func (v *RakeFileListVal) Truthy() bool

type RakeTaskVal ¶

type RakeTaskVal struct {
	// contains filtered or unexported fields
}

RakeTaskVal wraps a rake.TaskItem — a *rake.Task (Rake::Task) or a *rake.FileTask (Rake::FileTask); classOf tells the two apart by the concrete type.

func (*RakeTaskVal) Inspect ¶

func (v *RakeTaskVal) Inspect() string

func (*RakeTaskVal) ToS ¶

func (v *RakeTaskVal) ToS() string

func (*RakeTaskVal) Truthy ¶

func (v *RakeTaskVal) Truthy() bool

type RandomObj ¶

type RandomObj struct {
	// contains filtered or unexported fields
}

RandomObj is Ruby's Random: an MT19937 generator seeded exactly as MRI does (init_by_array over the seed's 32-bit little-endian words), so seeded output matches MRI bit for bit.

func (*RandomObj) Inspect ¶

func (r *RandomObj) Inspect() string

func (*RandomObj) ToS ¶

func (r *RandomObj) ToS() string

func (*RandomObj) Truthy ¶

func (r *RandomObj) Truthy() bool

type RansackSearch ¶

type RansackSearch struct {
	// contains filtered or unexported fields
}

RansackSearch is the Ruby wrapper around a *ransack.Search — the value Model.ransack(q) (and Ransack::Search.new(subject, q)) returns. It carries the parsed search, the subject it was built over (the model/relation whose rows #result filters and sorts) and the original params Hash for #inspect. The parsing, predicate and evaluation logic all live in the github.com/go-ruby-ransack/ransack engine; this wrapper is the thin shell that maps rbgo's object model onto it and wires the record-source seam (see ransack_bind.go).

func (*RansackSearch) Inspect ¶

func (s *RansackSearch) Inspect() string

func (*RansackSearch) ToS ¶

func (s *RansackSearch) ToS() string

func (*RansackSearch) Truthy ¶

func (s *RansackSearch) Truthy() bool

type RansackSort ¶

type RansackSort struct {
	// contains filtered or unexported fields
}

RansackSort is the Ruby wrapper around a ransack.Sort — the ordering directive #sorts yields. It answers #name / #dir / #asc? / #desc?, mirroring the Ransack::Nodes::Sort surface the gem exposes.

func (*RansackSort) Inspect ¶

func (s *RansackSort) Inspect() string

func (*RansackSort) ToS ¶

func (s *RansackSort) ToS() string

func (*RansackSort) Truthy ¶

func (s *RansackSort) Truthy() bool

type RedisBatch ¶

type RedisBatch struct {
	// contains filtered or unexported fields
}

RedisBatch is the Ruby object yielded to a #pipelined / #multi block: its command methods queue onto the underlying *redis.Batch instead of sending. The gem yields a similar pipeline object.

func (*RedisBatch) Inspect ¶

func (b *RedisBatch) Inspect() string

func (*RedisBatch) ToS ¶

func (b *RedisBatch) ToS() string

func (*RedisBatch) Truthy ¶

func (b *RedisBatch) Truthy() bool

type RedisObj ¶

type RedisObj struct {
	// contains filtered or unexported fields
}

RedisObj is the Ruby wrapper around a *redis.Client (Redis). It owns no socket: the client drives commands over the injected rubyConn seam.

func (*RedisObj) Inspect ¶

func (r *RedisObj) Inspect() string

func (*RedisObj) ToS ¶

func (r *RedisObj) ToS() string

func (*RedisObj) Truthy ¶

func (r *RedisObj) Truthy() bool

type Regexp ¶

type Regexp struct {
	// contains filtered or unexported fields
}

Regexp is a compiled Ruby regular expression. It wraps the pure-Go go-ruby-regexp engine so the interpreter stays CGO-free. flags holds the subset of the flag letters i, m, x that were present on the literal, in that canonical order.

Byte-vs-character offsets: go-ruby-regexp reports BYTE offsets, but Ruby's MatchData#begin/#end and String#=~ report CHARACTER offsets. The conversion happens in this package (byteToChar); matched substrings are representation-independent and are returned verbatim.

func (*Regexp) Inspect ¶

func (r *Regexp) Inspect() string

func (*Regexp) ToS ¶

func (r *Regexp) ToS() string

func (*Regexp) Truthy ¶

func (r *Regexp) Truthy() bool

type RelineHistory ¶

type RelineHistory struct {
	// contains filtered or unexported fields
}

RelineHistory backs Reline::HISTORY: the Array-like, size-capped line history (MRI's Reline::HISTORY object). It wraps the same *reline.History the read loop appends submitted lines to, so entries pushed from Ruby and lines added by Reline.readline(..., true) share one store.

func (*RelineHistory) Inspect ¶

func (*RelineHistory) Inspect() string

func (*RelineHistory) ToS ¶

func (*RelineHistory) ToS() string

func (*RelineHistory) Truthy ¶

func (*RelineHistory) Truthy() bool

type ResqueJob ¶

type ResqueJob struct {
	// contains filtered or unexported fields
}

ResqueJob is the Ruby wrapper around a reserved unit of work (Resque::Job.reserve): the decoded class name, arguments and source queue. Its #perform runs the job body through the Ruby seam; it holds no Redis handle, so it can be performed after the reserving connection has closed.

func (*ResqueJob) Inspect ¶

func (j *ResqueJob) Inspect() string

func (*ResqueJob) ToS ¶

func (j *ResqueJob) ToS() string

func (*ResqueJob) Truthy ¶

func (j *ResqueJob) Truthy() bool

type ResqueWorker ¶

type ResqueWorker struct {
	// contains filtered or unexported fields
}

ResqueWorker is the Ruby wrapper around a Resque::Worker: an ordered list of queues it drains. Each #work builds a fresh library worker over a fresh go-redis client (Closed when the drive returns), so it holds no live handle.

func (*ResqueWorker) Inspect ¶

func (w *ResqueWorker) Inspect() string

func (*ResqueWorker) ToS ¶

func (w *ResqueWorker) ToS() string

func (*ResqueWorker) Truthy ¶

func (w *ResqueWorker) Truthy() bool

type RodaReq ¶

type RodaReq struct {
	// contains filtered or unexported fields
}

RodaReq is the self a Roda route/matcher block runs against — a thin wrapper over the library's per-request *roda.RodaRequest exposing the matcher surface (on/is/get/post/put/delete/root, redirect/halt, params/path/request_method, captures, response). It carries its own class so classOf reports Roda::RodaRequest.

func (*RodaReq) Inspect ¶

func (r *RodaReq) Inspect() string

func (*RodaReq) ToS ¶

func (r *RodaReq) ToS() string

func (*RodaReq) Truthy ¶

func (r *RodaReq) Truthy() bool

type RodaResp ¶

type RodaResp struct {
	// contains filtered or unexported fields
}

RodaResp is the Ruby wrapper over the library's *roda.RodaResponse — the mutable response a route block writes into (status/headers/body), exposed through #[]/#[]=, #status/#status=, #write, #redirect and #finish. It carries its own class so classOf reports Roda::RodaResponse.

func (*RodaResp) Inspect ¶

func (r *RodaResp) Inspect() string

func (*RodaResp) ToS ¶

func (r *RodaResp) ToS() string

func (*RodaResp) Truthy ¶

func (r *RodaResp) Truthy() bool

type RuboCopConfig ¶

type RuboCopConfig struct {
	// contains filtered or unexported fields
}

RuboCopConfig is the Ruby wrapper around a *rubocop.Config — a whole-run configuration parsed from a .rubocop.yml document (RuboCop::Config).

func (*RuboCopConfig) Inspect ¶

func (c *RuboCopConfig) Inspect() string

func (*RuboCopConfig) ToS ¶

func (c *RuboCopConfig) ToS() string

func (*RuboCopConfig) Truthy ¶

func (c *RuboCopConfig) Truthy() bool

type RuboCopLocation ¶

type RuboCopLocation struct {
	// contains filtered or unexported fields
}

RuboCopLocation is the Ruby wrapper around a rubocop.Location — a 1-based line/column span (RuboCop::Cop::Offense::Location); #line / #column / #length.

func (*RuboCopLocation) Inspect ¶

func (l *RuboCopLocation) Inspect() string

func (*RuboCopLocation) ToS ¶

func (l *RuboCopLocation) ToS() string

func (*RuboCopLocation) Truthy ¶

func (l *RuboCopLocation) Truthy() bool

type RuboCopOffense ¶

type RuboCopOffense struct {
	// contains filtered or unexported fields
}

RuboCopOffense is the Ruby wrapper around a rubocop.Offense — one reported violation (RuboCop::Cop::Offense): its department-qualified cop name, message, severity, source location and correctability.

func (*RuboCopOffense) Inspect ¶

func (o *RuboCopOffense) Inspect() string

func (*RuboCopOffense) ToS ¶

func (o *RuboCopOffense) ToS() string

func (*RuboCopOffense) Truthy ¶

func (o *RuboCopOffense) Truthy() bool

type RuboCopRunner ¶

type RuboCopRunner struct {
	// contains filtered or unexported fields
}

RuboCopRunner is the Ruby wrapper around a *rubocop.Runner — the commissioner that runs a registry of cops over a source with a configuration (RuboCop::Runner). The offense/cop framework, the core cop set and the .rubocop.yml model live in the github.com/go-ruby-rubocop/rubocop library (built on the go-ruby-parser AST); this shell wires a Ruby String source to Runner.Inspect / Runner.Autocorrect and maps the returned Offenses back to Ruby value objects. The gem's file-walking is the host seam: this surface runs on source strings, exactly the shape the library exposes.

func (*RuboCopRunner) Inspect ¶

func (r *RuboCopRunner) Inspect() string

func (*RuboCopRunner) ToS ¶

func (r *RuboCopRunner) ToS() string

func (*RuboCopRunner) Truthy ¶

func (r *RuboCopRunner) Truthy() bool

type RubyError ¶

type RubyError struct {
	Class   string
	Message string
	Obj     object.Value   // the Ruby exception object, when raised from Ruby (else nil)
	Frames  []object.Value // backtrace (Array of String) captured at the Run boundary
}

RubyError is a runtime error surfaced to the caller.

func (RubyError) Backtrace ¶

func (e RubyError) Backtrace() []string

Backtrace returns the exception's backtrace as plain strings, innermost-first, for a host (the rbgo CLI) to render an uncaught exception MRI-style. It is the stack captured when the exception propagated out of Run.

func (RubyError) Error ¶

func (e RubyError) Error() string

type SAMLAuthrequest ¶

type SAMLAuthrequest struct {
	// contains filtered or unexported fields
}

SAMLAuthrequest is an instance of SAML::Authrequest (OneLogin::RubySaml::Authrequest): the builder for an SP-initiated SSO AuthnRequest. Its #uuid reader exposes the ID of the most recently created request, for InResponseTo correlation.

func (*SAMLAuthrequest) Inspect ¶

func (a *SAMLAuthrequest) Inspect() string

func (*SAMLAuthrequest) ToS ¶

func (a *SAMLAuthrequest) ToS() string

func (*SAMLAuthrequest) Truthy ¶

func (a *SAMLAuthrequest) Truthy() bool

type SAMLIdpMetadataParser ¶

type SAMLIdpMetadataParser struct {
	// contains filtered or unexported fields
}

SAMLIdpMetadataParser is an instance of SAML::IdpMetadataParser (OneLogin::RubySaml::IdpMetadataParser): the ingester that turns IdP metadata XML into a SAML::Settings.

func (*SAMLIdpMetadataParser) Inspect ¶

func (p *SAMLIdpMetadataParser) Inspect() string

func (*SAMLIdpMetadataParser) ToS ¶

func (p *SAMLIdpMetadataParser) ToS() string

func (*SAMLIdpMetadataParser) Truthy ¶

func (p *SAMLIdpMetadataParser) Truthy() bool

type SAMLLogoutrequest ¶

type SAMLLogoutrequest struct {
	// contains filtered or unexported fields
}

SAMLLogoutrequest is an instance of SAML::Logoutrequest (OneLogin::RubySaml::Logoutrequest): the builder for an SP-initiated Single Logout request.

func (*SAMLLogoutrequest) Inspect ¶

func (l *SAMLLogoutrequest) Inspect() string

func (*SAMLLogoutrequest) ToS ¶

func (l *SAMLLogoutrequest) ToS() string

func (*SAMLLogoutrequest) Truthy ¶

func (l *SAMLLogoutrequest) Truthy() bool

type SAMLMetadata ¶

type SAMLMetadata struct {
	// contains filtered or unexported fields
}

SAMLMetadata is an instance of SAML::Metadata (OneLogin::RubySaml::Metadata): the SP metadata generator.

func (*SAMLMetadata) Inspect ¶

func (m *SAMLMetadata) Inspect() string

func (*SAMLMetadata) ToS ¶

func (m *SAMLMetadata) ToS() string

func (*SAMLMetadata) Truthy ¶

func (m *SAMLMetadata) Truthy() bool

type SAMLResponse ¶

type SAMLResponse struct {
	// contains filtered or unexported fields
}

SAMLResponse is an instance of SAML::Response (OneLogin::RubySaml::Response): a parsed, validatable SAML 2.0 authentication response received at the SP Assertion Consumer Service.

func (*SAMLResponse) Inspect ¶

func (r *SAMLResponse) Inspect() string

func (*SAMLResponse) ToS ¶

func (r *SAMLResponse) ToS() string

func (*SAMLResponse) Truthy ¶

func (r *SAMLResponse) Truthy() bool

type SAMLSettings ¶

type SAMLSettings struct {
	// contains filtered or unexported fields
}

SAMLSettings is an instance of SAML::Settings (OneLogin::RubySaml::Settings): the SP and IdP configuration bag that drives request generation and response validation. Its attribute readers/writers project directly onto the wrapped *saml.Settings.

func (*SAMLSettings) Inspect ¶

func (s *SAMLSettings) Inspect() string

func (*SAMLSettings) ToS ¶

func (s *SAMLSettings) ToS() string

func (*SAMLSettings) Truthy ¶

func (s *SAMLSettings) Truthy() bool

type SAMLSloLogoutresponse ¶

type SAMLSloLogoutresponse struct {
	// contains filtered or unexported fields
}

SAMLSloLogoutresponse is an instance of SAML::SloLogoutresponse (OneLogin::RubySaml::SloLogoutresponse): the builder for the SP's response to an IdP-initiated logout request.

func (*SAMLSloLogoutresponse) Inspect ¶

func (l *SAMLSloLogoutresponse) Inspect() string

func (*SAMLSloLogoutresponse) ToS ¶

func (l *SAMLSloLogoutresponse) ToS() string

func (*SAMLSloLogoutresponse) Truthy ¶

func (l *SAMLSloLogoutresponse) Truthy() bool

type SMTPObj ¶

type SMTPObj struct {
	// contains filtered or unexported fields
}

SMTPObj is the Ruby wrapper around a Net::SMTP session. It owns the socket it dials (conn) and the codec driver (sess); both are nil until #start opens them and are cleared again by #finish. The configuration fields mirror the Net::SMTP accessors (esmtp, tls, starttls, timeouts) and are read at #start time.

func (*SMTPObj) Inspect ¶

func (o *SMTPObj) Inspect() string

func (*SMTPObj) ToS ¶

func (o *SMTPObj) ToS() string

func (*SMTPObj) Truthy ¶

func (o *SMTPObj) Truthy() bool

type SMTPResponseObj ¶

type SMTPResponseObj struct {
	// contains filtered or unexported fields
}

SMTPResponseObj is the Ruby wrapper around a *netsmtp.Response (Net::SMTP::Response): the reply status, its full text, and the success?/continue? predicates.

func (*SMTPResponseObj) Inspect ¶

func (r *SMTPResponseObj) Inspect() string

func (*SMTPResponseObj) ToS ¶

func (r *SMTPResponseObj) ToS() string

func (*SMTPResponseObj) Truthy ¶

func (r *SMTPResponseObj) Truthy() bool

type SMTPStreamObj ¶

type SMTPStreamObj struct {
	// contains filtered or unexported fields
}

SMTPStreamObj is the writable adapter Net::SMTP#open_message_stream (and the block form of #data) yields: #print / #puts / #write / #<< append to a buffer that becomes the DATA payload once the block returns.

func (*SMTPStreamObj) Inspect ¶

func (s *SMTPStreamObj) Inspect() string

func (*SMTPStreamObj) ToS ¶

func (s *SMTPStreamObj) ToS() string

func (*SMTPStreamObj) Truthy ¶

func (s *SMTPStreamObj) Truthy() bool

type SQLite3Database ¶

type SQLite3Database struct {
	// contains filtered or unexported fields
}

SQLite3Database is the Ruby wrapper around a *sqlite3.Database — a live database connection (SQLite3::Database). The real query engine lives in the github.com/go-ruby-sqlite3/sqlite3 library, which drives modernc.org/sqlite (pure-Go, no cgo); this shell is the thin wiring that maps Ruby String SQL and Array binds to the library's Execute / Prepare / Query calls and maps the scanned Go values (int64 / float64 / string / []byte / nil) back to Ruby Integer / Float / String / ASCII-8BIT String / nil (see sqlite3_bind.go). It is a real, functional database — `:memory:` and file paths both work.

func (*SQLite3Database) Inspect ¶

func (d *SQLite3Database) Inspect() string

func (*SQLite3Database) ToS ¶

func (d *SQLite3Database) ToS() string

func (*SQLite3Database) Truthy ¶

func (d *SQLite3Database) Truthy() bool

type SQLite3Statement ¶

type SQLite3Statement struct {
	// contains filtered or unexported fields
}

SQLite3Statement is the Ruby wrapper around a *sqlite3.Statement — a compiled prepared statement (SQLite3::Statement). bind_param / step / columns / reset / close map straight onto the library's methods.

func (*SQLite3Statement) Inspect ¶

func (s *SQLite3Statement) Inspect() string

func (*SQLite3Statement) ToS ¶

func (s *SQLite3Statement) ToS() string

func (*SQLite3Statement) Truthy ¶

func (s *SQLite3Statement) Truthy() bool

type SafeBufferVal ¶

type SafeBufferVal struct {
	// contains filtered or unexported fields
}

SafeBufferVal is a Ruby ActiveSupport::SafeBuffer / ActionView::OutputBuffer: an html-safe string. It wraps the library's *actionview.SafeBuffer so the mutating concat operators (<< / concat / safe_concat) update in place while the escape-on-append policy stays the library's. The cls field lets classOf report the SafeBuffer class.

func (*SafeBufferVal) Inspect ¶

func (b *SafeBufferVal) Inspect() string

Inspect renders the buffer's contents quoted, matching how a String inspects.

func (*SafeBufferVal) ToS ¶

func (b *SafeBufferVal) ToS() string

ToS returns the buffer's raw markup (ActiveSupport::SafeBuffer#to_s).

func (*SafeBufferVal) Truthy ¶

func (b *SafeBufferVal) Truthy() bool

Truthy reports true: a SafeBuffer, like any String, is always truthy.

type SemVerObj ¶

type SemVerObj struct {
	// contains filtered or unexported fields
}

SemVerObj is a Ruby SemanticPuppet::Version instance — a handle over one immutable *semver.Version.

func (*SemVerObj) Inspect ¶

func (o *SemVerObj) Inspect() string

func (*SemVerObj) ToS ¶

func (o *SemVerObj) ToS() string

func (*SemVerObj) Truthy ¶

func (o *SemVerObj) Truthy() bool

type SemVerRange ¶

type SemVerRange struct {
	// contains filtered or unexported fields
}

SemVerRange is a Ruby SemanticPuppet::VersionRange instance — a handle over one immutable *semver.VersionRange.

func (*SemVerRange) Inspect ¶

func (o *SemVerRange) Inspect() string

func (*SemVerRange) ToS ¶

func (o *SemVerRange) ToS() string

func (*SemVerRange) Truthy ¶

func (o *SemVerRange) Truthy() bool

type SequelDBObj ¶

type SequelDBObj struct {
	// contains filtered or unexported fields
}

SequelDBObj is the Ruby wrapper around a *sequel.Database (Sequel::Database). DB[:table] returns a SequelDatasetObj; create_table / run drive the executor.

func (*SequelDBObj) Inspect ¶

func (d *SequelDBObj) Inspect() string

func (*SequelDBObj) ToS ¶

func (d *SequelDBObj) ToS() string

func (*SequelDBObj) Truthy ¶

func (d *SequelDBObj) Truthy() bool

type SequelDatasetObj ¶

type SequelDatasetObj struct {
	// contains filtered or unexported fields
}

SequelDatasetObj is the Ruby wrapper around a *sequel.Dataset (Sequel::Dataset). The chainable methods (where/select/order/join/…) return new wrappers; the terminal methods (sql/all/first/insert/update/delete) build or run SQL.

func (*SequelDatasetObj) Inspect ¶

func (d *SequelDatasetObj) Inspect() string

func (*SequelDatasetObj) ToS ¶

func (d *SequelDatasetObj) ToS() string

func (*SequelDatasetObj) Truthy ¶

func (d *SequelDatasetObj) Truthy() bool

type SequelSchemaObj ¶

type SequelSchemaObj struct {
	// contains filtered or unexported fields
}

SequelSchemaObj is the Ruby wrapper yielded to a create_table block — the Go form of Sequel's Schema::CreateTableGenerator. Its DSL methods build columns on the underlying *sequel.TableBuilder.

func (*SequelSchemaObj) Inspect ¶

func (s *SequelSchemaObj) Inspect() string

func (*SequelSchemaObj) ToS ¶

func (s *SequelSchemaObj) ToS() string

func (*SequelSchemaObj) Truthy ¶

func (s *SequelSchemaObj) Truthy() bool

type Set ¶

type Set struct {
	// contains filtered or unexported fields
}

Set is the Ruby wrapper around a go-ruby-set Set. The library Set holds the original Ruby value as its member, keyed through setKey, so it is the single source of truth for membership, the canonical key→value mapping and the insertion order — there is no parallel store to keep in sync, and an algebra result already carries the Ruby values in MRI order in one pass.

func (*Set) Inspect ¶

func (s *Set) Inspect() string

func (*Set) ToS ¶

func (s *Set) ToS() string

func (*Set) Truthy ¶

func (s *Set) Truthy() bool

type ShrineAttacher ¶

type ShrineAttacher struct {
	// contains filtered or unexported fields
}

ShrineAttacher is a Shrine::Attacher: it wraps a go-ruby-shrine *Attacher and drives the cache→store attachment lifecycle.

func (*ShrineAttacher) Inspect ¶

func (a *ShrineAttacher) Inspect() string

func (*ShrineAttacher) ToS ¶

func (a *ShrineAttacher) ToS() string

func (*ShrineAttacher) Truthy ¶

func (a *ShrineAttacher) Truthy() bool

type ShrineStorage ¶

type ShrineStorage struct {
	// contains filtered or unexported fields
}

ShrineStorage is an instance of a Shrine::Storage backend (Memory or FileSystem), wrapping a go-ruby-shrine Storage. cls carries the concrete Ruby class so classOf / is_a? report Shrine::Storage::Memory or Shrine::Storage::FileSystem.

func (*ShrineStorage) Inspect ¶

func (s *ShrineStorage) Inspect() string

func (*ShrineStorage) ToS ¶

func (s *ShrineStorage) ToS() string

func (*ShrineStorage) Truthy ¶

func (s *ShrineStorage) Truthy() bool

type ShrineUploadedFile ¶

type ShrineUploadedFile struct {
	// contains filtered or unexported fields
}

ShrineUploadedFile is a Shrine::UploadedFile value: the reference returned by an upload, wrapping a go-ruby-shrine *UploadedFile that knows how to reach its bytes through the storage registry it was created from.

func (*ShrineUploadedFile) Inspect ¶

func (f *ShrineUploadedFile) Inspect() string

func (*ShrineUploadedFile) ToS ¶

func (f *ShrineUploadedFile) ToS() string

func (*ShrineUploadedFile) Truthy ¶

func (f *ShrineUploadedFile) Truthy() bool

type ShrineUploader ¶

type ShrineUploader struct {
	// contains filtered or unexported fields
}

ShrineUploader is an instance of the Shrine class bound to a storage key (Shrine.new(:store)): it wraps a go-ruby-shrine *Uploader and uploads to that one storage.

func (*ShrineUploader) Inspect ¶

func (u *ShrineUploader) Inspect() string

func (*ShrineUploader) ToS ¶

func (u *ShrineUploader) ToS() string

func (*ShrineUploader) Truthy ¶

func (u *ShrineUploader) Truthy() bool

type SimpleCovResult ¶

type SimpleCovResult struct {
	// contains filtered or unexported fields
}

SimpleCovResult is an instance of SimpleCov::Result: a named, timestamped, filtered and grouped view over a set of covered files, backed by a go-ruby-simplecov *simplecov.Result. root is the project root used to derive project-relative paths for the files it hands out.

func (*SimpleCovResult) Inspect ¶

func (r *SimpleCovResult) Inspect() string

func (*SimpleCovResult) ToS ¶

func (r *SimpleCovResult) ToS() string

func (*SimpleCovResult) Truthy ¶

func (r *SimpleCovResult) Truthy() bool

type SimpleCovSourceFile ¶

type SimpleCovSourceFile struct {
	// contains filtered or unexported fields
}

SimpleCovSourceFile is an instance of SimpleCov::SourceFile: one covered file's line data and coverage metrics, backed by a go-ruby-simplecov *simplecov.SourceFile. root is the project root used by #project_filename.

func (*SimpleCovSourceFile) Inspect ¶

func (s *SimpleCovSourceFile) Inspect() string

func (*SimpleCovSourceFile) ToS ¶

func (s *SimpleCovSourceFile) ToS() string

func (*SimpleCovSourceFile) Truthy ¶

func (s *SimpleCovSourceFile) Truthy() bool

type SinatraCtx ¶

type SinatraCtx struct {
	// contains filtered or unexported fields
}

SinatraCtx is the self a route/filter block runs against — the request-scoped Sinatra helper surface (params, request, response, status, body, headers, content_type, redirect, halt, pass, session, settings). It wraps the library's per-request *sinatra.Context; the block is instance_eval'd with this as self so a bare `params` / `halt` resolves here.

func (*SinatraCtx) Inspect ¶

func (c *SinatraCtx) Inspect() string

func (*SinatraCtx) ToS ¶

func (c *SinatraCtx) ToS() string

func (*SinatraCtx) Truthy ¶

func (c *SinatraCtx) Truthy() bool

type SinatraSettings ¶

type SinatraSettings struct {
	// contains filtered or unexported fields
}

SinatraSettings is the read view a handler's `settings` helper returns: it exposes the class-DSL set/enable/disable values via #[] and method_missing so `settings.foo` / `settings.foo?` read what the app declared.

func (*SinatraSettings) Inspect ¶

func (s *SinatraSettings) Inspect() string

func (*SinatraSettings) ToS ¶

func (s *SinatraSettings) ToS() string

func (*SinatraSettings) Truthy ¶

func (s *SinatraSettings) Truthy() bool

type SingleLine ¶

type SingleLine struct {
	// contains filtered or unexported fields
}

SingleLine is the Ruby wrapper around a *prettyprint.SingleLine — the no-break variant used by PrettyPrint.singleline_format. It accepts the same builder calls; breakables emit their separator text and groups/nests are transparent.

func (*SingleLine) Inspect ¶

func (s *SingleLine) Inspect() string

func (*SingleLine) ToS ¶

func (s *SingleLine) ToS() string

func (*SingleLine) Truthy ¶

func (s *SingleLine) Truthy() bool

type SpellChecker ¶

type SpellChecker struct {
	// contains filtered or unexported fields
}

SpellChecker is the Ruby wrapper around the library's Correct matcher. It holds the dictionary twice: once as the []string the library ranks over, and once as the parallel slice of the original Ruby values, so each ranked result (returned by the library as a name string) is mapped back to the dictionary entry it came from — preserving its String/Symbol type and the library's result order.

func (*SpellChecker) Inspect ¶

func (s *SpellChecker) Inspect() string

func (*SpellChecker) ToS ¶

func (s *SpellChecker) ToS() string

func (*SpellChecker) Truthy ¶

func (s *SpellChecker) Truthy() bool

type StringInquirerVal ¶

type StringInquirerVal struct {
	// contains filtered or unexported fields
}

StringInquirerVal wraps a railties.StringInquirer (Rails::StringInquirer): the value Rails.env returns so `env.production?` reads naturally.

func (*StringInquirerVal) Inspect ¶

func (v *StringInquirerVal) Inspect() string

func (*StringInquirerVal) ToS ¶

func (v *StringInquirerVal) ToS() string

func (*StringInquirerVal) Truthy ¶

func (v *StringInquirerVal) Truthy() bool

type StringScanner ¶

type StringScanner struct {
	// contains filtered or unexported fields
}

StringScanner binds github.com/go-ruby-strscan/strscan — a pure-Go (cgo-free) reimplementation of Ruby's strscan standard library (require "strscan") — into rbgo, replacing the former pure-Ruby prelude implementation. The cursor logic (anchored / forward matching, the recorded match, pre/post text, position arithmetic) lives entirely in the library, ported byte for byte from that prelude and validated against MRI 4.0.5; this file is only the thin wrapper that turns Ruby method calls into Go method calls and the library's (string,bool) / error results back into Ruby nil / exceptions. The scanner matches with the same go-ruby-regexp engine rbgo's own Regexp uses, so the regex semantics (UTF-8, named groups, flags) are identical to before. The surface is exactly what Puppet's Pops lexer drives (scan/scan_until/skip/peek/ pos/pos=/eos?/matched/match?/string/[]) plus the rest of MRI's API.

func (*StringScanner) Inspect ¶

func (s *StringScanner) Inspect() string

func (*StringScanner) ToS ¶

func (s *StringScanner) ToS() string

func (*StringScanner) Truthy ¶

func (s *StringScanner) Truthy() bool

type ThorBase ¶

type ThorBase struct {
	// contains filtered or unexported fields
}

ThorBase wraps a *thor.Base command registry (Thor::Base).

func (*ThorBase) Inspect ¶

func (v *ThorBase) Inspect() string

func (*ThorBase) ToS ¶

func (v *ThorBase) ToS() string

func (*ThorBase) Truthy ¶

func (v *ThorBase) Truthy() bool

type ThorCommand ¶

type ThorCommand struct {
	// contains filtered or unexported fields
}

ThorCommand wraps a *thor.Command (Thor::Command).

func (*ThorCommand) Inspect ¶

func (v *ThorCommand) Inspect() string

func (*ThorCommand) ToS ¶

func (v *ThorCommand) ToS() string

func (*ThorCommand) Truthy ¶

func (v *ThorCommand) Truthy() bool

type ThorOption ¶

type ThorOption struct {
	// contains filtered or unexported fields
}

ThorOption wraps a *thor.Option (Thor::Option).

func (*ThorOption) Inspect ¶

func (v *ThorOption) Inspect() string

func (*ThorOption) ToS ¶

func (v *ThorOption) ToS() string

func (*ThorOption) Truthy ¶

func (v *ThorOption) Truthy() bool

type ThorOptions ¶

type ThorOptions struct {
	// contains filtered or unexported fields
}

ThorOptions wraps a *thor.Options parser (Thor::Options); remaining records the non-option argv tail from the most recent #parse, which #remaining returns.

func (*ThorOptions) Inspect ¶

func (v *ThorOptions) Inspect() string

func (*ThorOptions) ToS ¶

func (v *ThorOptions) ToS() string

func (*ThorOptions) Truthy ¶

func (v *ThorOptions) Truthy() bool

type Time ¶

type Time struct {
	// contains filtered or unexported fields
}

Time is the Ruby wrapper around a go-composites Time.

func (*Time) Inspect ¶

func (t *Time) Inspect() string

func (*Time) ToS ¶

func (t *Time) ToS() string

func (*Time) Truthy ¶

func (t *Time) Truthy() bool

type Timezone ¶

type Timezone struct {
	// contains filtered or unexported fields
}

Timezone wraps a *tzinfo.Timezone as a Ruby TZInfo::Timezone object. The resolution, UTC↔local conversion and period computation all live in the github.com/go-ruby-tzinfo/tzinfo library; this shell only reports the Ruby class and delegates each method to the wrapped value (see tzinfo_bind.go).

func (*Timezone) Inspect ¶

func (t *Timezone) Inspect() string

func (*Timezone) ToS ¶

func (t *Timezone) ToS() string

func (*Timezone) Truthy ¶

func (t *Timezone) Truthy() bool

type TimezoneOffset ¶

type TimezoneOffset struct {
	// contains filtered or unexported fields
}

TimezoneOffset wraps a tzinfo.TimezoneOffset as a Ruby TZInfo::TimezoneOffset.

func (*TimezoneOffset) Inspect ¶

func (o *TimezoneOffset) Inspect() string

func (*TimezoneOffset) ToS ¶

func (o *TimezoneOffset) ToS() string

func (*TimezoneOffset) Truthy ¶

func (o *TimezoneOffset) Truthy() bool

type TimezonePeriod ¶

type TimezonePeriod struct {
	// contains filtered or unexported fields
}

TimezonePeriod wraps a tzinfo.TimezonePeriod as a Ruby TZInfo::TimezonePeriod.

func (*TimezonePeriod) Inspect ¶

func (p *TimezonePeriod) Inspect() string

func (*TimezonePeriod) ToS ¶

func (p *TimezonePeriod) ToS() string

func (*TimezonePeriod) Truthy ¶

func (p *TimezonePeriod) Truthy() bool

type Tms ¶

type Tms struct {
	// contains filtered or unexported fields
}

Tms is rbgo's Ruby wrapper around a benchmark.Tms value. The same wrapper backs Benchmark::Tms instances; classOf reports cBenchmarkTms for it. The library owns the value semantics (arithmetic, total, formatting); this wrapper only maps them onto rbgo's object model.

func (*Tms) Inspect ¶

func (t *Tms) Inspect() string

func (*Tms) ToS ¶

func (t *Tms) ToS() string

func (*Tms) Truthy ¶

func (t *Tms) Truthy() bool

type TyphoeusHydra ¶

type TyphoeusHydra struct {
	// contains filtered or unexported fields
}

TyphoeusHydra wraps a *typhoeus.Hydra (Typhoeus::Hydra), the parallel runner.

func (*TyphoeusHydra) Inspect ¶

func (v *TyphoeusHydra) Inspect() string

func (*TyphoeusHydra) ToS ¶

func (v *TyphoeusHydra) ToS() string

func (*TyphoeusHydra) Truthy ¶

func (v *TyphoeusHydra) Truthy() bool

type TyphoeusRequest ¶

type TyphoeusRequest struct {
	// contains filtered or unexported fields
}

TyphoeusRequest wraps a *typhoeus.Request (Typhoeus::Request).

func (*TyphoeusRequest) Inspect ¶

func (v *TyphoeusRequest) Inspect() string

func (*TyphoeusRequest) ToS ¶

func (v *TyphoeusRequest) ToS() string

func (*TyphoeusRequest) Truthy ¶

func (v *TyphoeusRequest) Truthy() bool

type TyphoeusResponse ¶

type TyphoeusResponse struct {
	// contains filtered or unexported fields
}

TyphoeusResponse wraps a *typhoeus.Response (Typhoeus::Response).

func (*TyphoeusResponse) Inspect ¶

func (v *TyphoeusResponse) Inspect() string

func (*TyphoeusResponse) ToS ¶

func (v *TyphoeusResponse) ToS() string

func (*TyphoeusResponse) Truthy ¶

func (v *TyphoeusResponse) Truthy() bool

type URI ¶

type URI struct {
	// contains filtered or unexported fields
}

URI is the Ruby wrapper around a *liburi.URI. The library value carries the parsed components; cls is the Ruby class the wrapper reports for `class` / `is_a?` — URI::Generic for an unknown (or absent) scheme, or a scheme subclass such as URI::HTTP, so the value inherits every instance method defined on URI::Generic yet keeps its own identity.

func (*URI) Inspect ¶

func (u *URI) Inspect() string

func (*URI) ToS ¶

func (u *URI) ToS() string

func (*URI) Truthy ¶

func (u *URI) Truthy() bool

type UnboundMethod ¶

type UnboundMethod struct {
	// contains filtered or unexported fields
}

UnboundMethod is a method detached from any receiver, produced by Module#instance_method or Method#unbind. It is re-bound to a compatible receiver with #bind / #bind_call.

func (*UnboundMethod) Inspect ¶

func (u *UnboundMethod) Inspect() string

func (*UnboundMethod) ToS ¶

func (u *UnboundMethod) ToS() string

func (*UnboundMethod) Truthy ¶

func (u *UnboundMethod) Truthy() bool

type VM ¶

type VM struct {
	// contains filtered or unexported fields
}

VM holds I/O, the top-level self, the constant table and the base classes.

func New ¶

func New(out io.Writer) *VM

New returns a VM writing program output to out.

func (*VM) Run ¶

func (vm *VM) Run(iseq *bytecode.ISeq) (result object.Value, err error)

func (*VM) SetConst ¶

func (vm *VM) SetConst(name string, v object.Value)

SetConst installs v as a top-level constant, visible to a subsequently-run program as a bare constant reference. Embedding hosts use it to seed a run — the wasm playground binds INPUT to the raw bytes of an image before evaluating Ruby that processes it.

func (*VM) SetScriptName ¶

func (vm *VM) SetScriptName(name string)

SetScriptName records the program name ($0) without deriving a require search directory from it. Hosts use it for a program that has no on-disk path — the CLI's `-e` one-liner — so backtraces still label the top-level frame ("-e") while require_relative falls back to the process CWD.

func (*VM) SetScriptPath ¶

func (vm *VM) SetScriptPath(path string)

SetScriptPath records the path of the top-level program so require_relative (and a path-relative require) can resolve against its directory. Hosts call it before Run; with no script set, resolution falls back to the process CWD.

type VaultAppRole ¶

type VaultAppRole struct {
	// contains filtered or unexported fields
}

VaultAppRole wraps a *openbao.AppRoleAuth (Vault::AppRole).

func (*VaultAppRole) Inspect ¶

func (v *VaultAppRole) Inspect() string

func (*VaultAppRole) ToS ¶

func (v *VaultAppRole) ToS() string

func (*VaultAppRole) Truthy ¶

func (v *VaultAppRole) Truthy() bool

type VaultAuth ¶

type VaultAuth struct {
	// contains filtered or unexported fields
}

VaultAuth wraps a *openbao.Auth (Vault::Auth).

func (*VaultAuth) Inspect ¶

func (v *VaultAuth) Inspect() string

func (*VaultAuth) ToS ¶

func (v *VaultAuth) ToS() string

func (*VaultAuth) Truthy ¶

func (v *VaultAuth) Truthy() bool

type VaultClient ¶

type VaultClient struct {
	// contains filtered or unexported fields
}

VaultClient wraps a *openbao.Client (Vault::Client / OpenBao::Client).

func (*VaultClient) Inspect ¶

func (v *VaultClient) Inspect() string

func (*VaultClient) ToS ¶

func (v *VaultClient) ToS() string

func (*VaultClient) Truthy ¶

func (v *VaultClient) Truthy() bool

type VaultKVv1 ¶

type VaultKVv1 struct {
	// contains filtered or unexported fields
}

VaultKVv1 wraps a *openbao.KVv1 (Vault::KVv1).

func (*VaultKVv1) Inspect ¶

func (v *VaultKVv1) Inspect() string

func (*VaultKVv1) ToS ¶

func (v *VaultKVv1) ToS() string

func (*VaultKVv1) Truthy ¶

func (v *VaultKVv1) Truthy() bool

type VaultKVv2 ¶

type VaultKVv2 struct {
	// contains filtered or unexported fields
}

VaultKVv2 wraps a *openbao.KVv2 (Vault::KVv2).

func (*VaultKVv2) Inspect ¶

func (v *VaultKVv2) Inspect() string

func (*VaultKVv2) ToS ¶

func (v *VaultKVv2) ToS() string

func (*VaultKVv2) Truthy ¶

func (v *VaultKVv2) Truthy() bool

type VaultLogical ¶

type VaultLogical struct {
	// contains filtered or unexported fields
}

VaultLogical wraps a *openbao.Logical (Vault::Logical).

func (*VaultLogical) Inspect ¶

func (v *VaultLogical) Inspect() string

func (*VaultLogical) ToS ¶

func (v *VaultLogical) ToS() string

func (*VaultLogical) Truthy ¶

func (v *VaultLogical) Truthy() bool

type VaultSecret ¶

type VaultSecret struct {
	// contains filtered or unexported fields
}

VaultSecret wraps a *openbao.Secret (Vault::Secret).

func (*VaultSecret) Inspect ¶

func (v *VaultSecret) Inspect() string

func (*VaultSecret) ToS ¶

func (v *VaultSecret) ToS() string

func (*VaultSecret) Truthy ¶

func (v *VaultSecret) Truthy() bool

type VaultSys ¶

type VaultSys struct {
	// contains filtered or unexported fields
}

VaultSys wraps a *openbao.Sys (Vault::Sys).

func (*VaultSys) Inspect ¶

func (v *VaultSys) Inspect() string

func (*VaultSys) ToS ¶

func (v *VaultSys) ToS() string

func (*VaultSys) Truthy ¶

func (v *VaultSys) Truthy() bool

type VaultTokenAuth ¶

type VaultTokenAuth struct {
	// contains filtered or unexported fields
}

VaultTokenAuth wraps a *openbao.TokenAuth (Vault::TokenAuth).

func (*VaultTokenAuth) Inspect ¶

func (v *VaultTokenAuth) Inspect() string

func (*VaultTokenAuth) ToS ¶

func (v *VaultTokenAuth) ToS() string

func (*VaultTokenAuth) Truthy ¶

func (v *VaultTokenAuth) Truthy() bool

type VaultTransit ¶

type VaultTransit struct {
	// contains filtered or unexported fields
}

VaultTransit wraps a *openbao.Transit (Vault::Transit).

func (*VaultTransit) Inspect ¶

func (v *VaultTransit) Inspect() string

func (*VaultTransit) ToS ¶

func (v *VaultTransit) ToS() string

func (*VaultTransit) Truthy ¶

func (v *VaultTransit) Truthy() bool

type VaultUserpass ¶

type VaultUserpass struct {
	// contains filtered or unexported fields
}

VaultUserpass wraps a *openbao.UserpassAuth (Vault::Userpass).

func (*VaultUserpass) Inspect ¶

func (v *VaultUserpass) Inspect() string

func (*VaultUserpass) ToS ¶

func (v *VaultUserpass) ToS() string

func (*VaultUserpass) Truthy ¶

func (v *VaultUserpass) Truthy() bool

type Vector ¶

type Vector struct {
	// contains filtered or unexported fields
}

Vector is the Ruby wrapper around a go-ruby-matrix Vector.

func (*Vector) Inspect ¶

func (v *Vector) Inspect() string

func (*Vector) ToS ¶

func (v *Vector) ToS() string

func (*Vector) Truthy ¶

func (v *Vector) Truthy() bool

type WEBrickRequest ¶

type WEBrickRequest struct {
	// contains filtered or unexported fields
}

WEBrickRequest is the Ruby wrapper around a webrick.Request. req is nil until #parse runs (or the request originates from the service seam); cfg is the config #parse parses against.

func (*WEBrickRequest) Inspect ¶

func (r *WEBrickRequest) Inspect() string

func (*WEBrickRequest) ToS ¶

func (r *WEBrickRequest) ToS() string

func (*WEBrickRequest) Truthy ¶

func (r *WEBrickRequest) Truthy() bool

type WEBrickResponse ¶

type WEBrickResponse struct {
	// contains filtered or unexported fields
}

WEBrickResponse is the Ruby wrapper around a webrick.Response — the mutable status/headers/body a servlet fills in, whose #to_s yields the wire bytes.

func (*WEBrickResponse) Inspect ¶

func (r *WEBrickResponse) Inspect() string

func (*WEBrickResponse) ToS ¶

func (r *WEBrickResponse) ToS() string

func (*WEBrickResponse) Truthy ¶

func (r *WEBrickResponse) Truthy() bool

type WEBrickServer ¶

type WEBrickServer struct {
	// contains filtered or unexported fields
}

WEBrickServer is the Ruby wrapper around a webrick.HTTPServer (the mount registry + #service dispatch) plus the config it was built with.

func (*WEBrickServer) Inspect ¶

func (s *WEBrickServer) Inspect() string

func (*WEBrickServer) ToS ¶

func (s *WEBrickServer) ToS() string

func (*WEBrickServer) Truthy ¶

func (s *WEBrickServer) Truthy() bool

type WardenManager ¶

type WardenManager struct {
	// contains filtered or unexported fields
}

WardenManager is the Ruby wrapper around the Warden Rack middleware (Warden::Manager). The configuration collected from the new{|m| …} block is held here; the underlying *warden.Manager is built lazily on the first #call, so every config setter has run before the engine is assembled.

func (*WardenManager) Inspect ¶

func (m *WardenManager) Inspect() string

func (*WardenManager) ToS ¶

func (m *WardenManager) ToS() string

func (*WardenManager) Truthy ¶

func (m *WardenManager) Truthy() bool

type WardenProxy ¶

type WardenProxy struct {
	// contains filtered or unexported fields
}

WardenProxy is the Ruby wrapper around a *warden.Proxy — the env["warden"] object the middleware injects. It is scope-aware and delegates authenticate / user / set_user / logout straight to the library.

func (*WardenProxy) Inspect ¶

func (p *WardenProxy) Inspect() string

func (*WardenProxy) ToS ¶

func (p *WardenProxy) ToS() string

func (*WardenProxy) Truthy ¶

func (p *WardenProxy) Truthy() bool

type WardenStrategy ¶

type WardenStrategy struct {
	// contains filtered or unexported fields
}

WardenStrategy is the self a strategy's valid?/authenticate! Ruby body runs against — one per strategy run. It carries the Rack env and accumulates the outcome the terminating methods (success!/fail!/redirect!/custom!/pass) record, which wardenStrategyRun reads back into a warden.StrategyResult. cls is the anonymous subclass of Warden::Strategies::Base that Warden::Strategies.add class-eval'd the user block into.

func (*WardenStrategy) Inspect ¶

func (s *WardenStrategy) Inspect() string

func (*WardenStrategy) ToS ¶

func (s *WardenStrategy) ToS() string

func (*WardenStrategy) Truthy ¶

func (s *WardenStrategy) Truthy() bool

type WebAuthnCreateOptions ¶

type WebAuthnCreateOptions struct {
	// contains filtered or unexported fields
}

WebAuthnCreateOptions is an instance of WebAuthn::PublicKeyCredentialCreationOptions, the options_for_create result.

func (*WebAuthnCreateOptions) Inspect ¶

func (o *WebAuthnCreateOptions) Inspect() string

func (*WebAuthnCreateOptions) ToS ¶

func (o *WebAuthnCreateOptions) ToS() string

func (*WebAuthnCreateOptions) Truthy ¶

func (o *WebAuthnCreateOptions) Truthy() bool

type WebAuthnCredential ¶

type WebAuthnCredential struct {
	// contains filtered or unexported fields
}

WebAuthnCredential is an instance of WebAuthn::Credential, the verified result of a ceremony. Exactly one of reg/auth is non-nil: reg for a registration (verify_registration), auth for an authentication (verify_authentication).

func (*WebAuthnCredential) Inspect ¶

func (c *WebAuthnCredential) Inspect() string

func (*WebAuthnCredential) ToS ¶

func (c *WebAuthnCredential) ToS() string

func (*WebAuthnCredential) Truthy ¶

func (c *WebAuthnCredential) Truthy() bool

type WebAuthnGetOptions ¶

type WebAuthnGetOptions struct {
	// contains filtered or unexported fields
}

WebAuthnGetOptions is an instance of WebAuthn::PublicKeyCredentialRequestOptions, the options_for_get result.

func (*WebAuthnGetOptions) Inspect ¶

func (o *WebAuthnGetOptions) Inspect() string

func (*WebAuthnGetOptions) ToS ¶

func (o *WebAuthnGetOptions) ToS() string

func (*WebAuthnGetOptions) Truthy ¶

func (o *WebAuthnGetOptions) Truthy() bool

type WebAuthnPublicKey ¶

type WebAuthnPublicKey struct {
	// contains filtered or unexported fields
}

WebAuthnPublicKey is an instance of WebAuthn::PublicKey, wrapping a go-ruby-webauthn *PublicKey (a COSE_Key encoded credential public key).

func (*WebAuthnPublicKey) Inspect ¶

func (p *WebAuthnPublicKey) Inspect() string

func (*WebAuthnPublicKey) ToS ¶

func (p *WebAuthnPublicKey) ToS() string

func (*WebAuthnPublicKey) Truthy ¶

func (p *WebAuthnPublicKey) Truthy() bool

type WebAuthnRelyingParty ¶

type WebAuthnRelyingParty struct {
	// contains filtered or unexported fields
}

WebAuthnRelyingParty is an instance of WebAuthn::RelyingParty, wrapping a go-ruby-webauthn *RelyingParty (the gem's WebAuthn::RelyingParty).

func (*WebAuthnRelyingParty) Inspect ¶

func (r *WebAuthnRelyingParty) Inspect() string

func (*WebAuthnRelyingParty) ToS ¶

func (r *WebAuthnRelyingParty) ToS() string

func (*WebAuthnRelyingParty) Truthy ¶

func (r *WebAuthnRelyingParty) Truthy() bool

type WebMockStub ¶

type WebMockStub struct {
	// contains filtered or unexported fields
}

WebMockStub is the Ruby object returned by WebMock.stub_request: a thin wrapper over a registered *webmock.Stub so the fluent builder (.with / .to_return / .to_raise / .to_timeout) can keep appending constraints and behaviours.

func (*WebMockStub) Inspect ¶

func (s *WebMockStub) Inspect() string

func (*WebMockStub) ToS ¶

func (s *WebMockStub) ToS() string

func (*WebMockStub) Truthy ¶

func (s *WebMockStub) Truthy() bool

type XmlMarkup ¶

type XmlMarkup struct {
	// contains filtered or unexported fields
}

XmlMarkup is the Ruby wrapper around a *builder.XmlMarkup emitter. The gem drives Builder::XmlMarkup through method_missing — xml.person { xml.name("x") } turns the missing method name into an element — and this shell reproduces that: method_missing routes onto the library's Tag, and the bang methods (text!, <<, cdata!, comment!, instruct!, declare!, tag!, target!) map onto their library counterparts. The whole markup emitter (indentation, escaping, attribute order, PI/DOCTYPE bytes) lives in the github.com/go-ruby-builder/builder library (see builder_bind.go); this file is the thin wiring plus rbgo's method_missing → Tag and block evaluation.

func (*XmlMarkup) Inspect ¶

func (m *XmlMarkup) Inspect() string

func (*XmlMarkup) ToS ¶

func (m *XmlMarkup) ToS() string

func (*XmlMarkup) Truthy ¶

func (m *XmlMarkup) Truthy() bool

type ZeitwerkInflector ¶

type ZeitwerkInflector struct {
	// contains filtered or unexported fields
}

ZeitwerkInflector is the Ruby handle for a Zeitwerk::Inflector: a wrapper over the engine's *zeitwerk.Inflector, the snake_case -> CamelCase mapper (with hard-coded acronym overrides) the scan uses to name constants.

func (*ZeitwerkInflector) Inspect ¶

func (z *ZeitwerkInflector) Inspect() string

func (*ZeitwerkInflector) ToS ¶

func (z *ZeitwerkInflector) ToS() string

func (*ZeitwerkInflector) Truthy ¶

func (z *ZeitwerkInflector) Truthy() bool

type ZeitwerkLoader ¶

type ZeitwerkLoader struct {
	// contains filtered or unexported fields
}

ZeitwerkLoader is the Ruby handle a Zeitwerk::Loader.new / .for_gem returns: a thin wrapper over a *zeitwerk.Loader (the pure-Go engine of the zeitwerk gem's autoloader). The engine owns the directory scan and the const<->path map; this wrapper carries the rbgo VM so the loader's seams (DefineAutoload / Load / OnUnload) can reach rbgo's real Module#autoload, require and constant table (they are wired once in registerZeitwerk when the loader is built). inf is the wrapper over the engine's own inflector, cached so Loader#inflector returns a stable object whose #inflect mutations are seen by the scan.

func (*ZeitwerkLoader) Inspect ¶

func (z *ZeitwerkLoader) Inspect() string

func (*ZeitwerkLoader) ToS ¶

func (z *ZeitwerkLoader) ToS() string

func (*ZeitwerkLoader) Truthy ¶

func (z *ZeitwerkLoader) Truthy() bool

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL