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



5175
5176
5177
# File 'lib/xberg/native.rb', line 5175

def self.from_hash(hash)
  new
end

Instance Method Details

#always?Boolean

Returns:

  • (Boolean)


5171
5172
5173
# File 'lib/xberg/native.rb', line 5171

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

#disabled?Boolean

Returns:

  • (Boolean)


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

def disabled? = true

#on_low_quality?Boolean

Returns:

  • (Boolean)


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

def on_low_quality? = false