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



410
411
412
# File 'lib/xberg/native.rb', line 410

def self.from_hash(hash)
  new
end

Instance Method Details

#always?Boolean

Returns:

  • (Boolean)


406
407
408
# File 'lib/xberg/native.rb', line 406

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

#disabled?Boolean

Returns:

  • (Boolean)


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

def disabled? = true

#on_low_quality?Boolean

Returns:

  • (Boolean)


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

def on_low_quality? = false