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



281
282
283
# File 'lib/xberg/native.rb', line 281

def self.from_hash(hash)
  new
end

Instance Method Details

#always?Boolean

Returns:

  • (Boolean)


277
278
279
# File 'lib/xberg/native.rb', line 277

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

#disabled?Boolean

Returns:

  • (Boolean)


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

def disabled? = true

#on_low_quality?Boolean

Returns:

  • (Boolean)


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

def on_low_quality? = false