Class: Xberg::VlmFallbackPolicyDisabled

Inherits:
Data
  • Object
show all
Extended by:
T::Sig
Includes:
VlmFallbackPolicy
Defined in:
lib/xberg/native.rb

Overview

No VLM fallback (default). Behaves identically to the pre-policy single-backend mode.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



296
297
298
# File 'lib/xberg/native.rb', line 296

def self.from_hash(hash)
  new
end

Instance Method Details

#always?Boolean

Returns:

  • (Boolean)


292
293
294
# File 'lib/xberg/native.rb', line 292

def always? = false
# @param hash [Hash] deserialized from the native extension
# @return [self]

#disabled?Boolean

Returns:

  • (Boolean)


288
# File 'lib/xberg/native.rb', line 288

def disabled? = true

#on_low_quality?Boolean

Returns:

  • (Boolean)


290
# File 'lib/xberg/native.rb', line 290

def on_low_quality? = false