Class: Xberg::LateInteractionModelTypePlugin
- Inherits:
-
Data
- Object
- Data
- Xberg::LateInteractionModelTypePlugin
- Extended by:
- T::Sig
- Includes:
- LateInteractionModelType
- Defined in:
- lib/xberg/native.rb
Overview
In-process late-interaction backend registered via the plugin system.
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
rubocop:disable Lint/UselessMethodDefinition.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
330 331 332 |
# File 'lib/xberg/native.rb', line 330 def name @name end |
Class Method Details
.from_hash(hash) ⇒ Object
347 348 349 |
# File 'lib/xberg/native.rb', line 347 def self.from_hash(hash) new(name: hash[:name] || hash["name"]) end |
Instance Method Details
#custom? ⇒ Boolean
341 |
# File 'lib/xberg/native.rb', line 341 def custom? = false |
#plugin? ⇒ Boolean
343 344 345 |
# File 'lib/xberg/native.rb', line 343 def plugin? = true # @param hash [Hash] deserialized from the native extension # @return [self] |
#preset? ⇒ Boolean
339 |
# File 'lib/xberg/native.rb', line 339 def preset? = false |