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
357 358 359 |
# File 'lib/xberg/native.rb', line 357 def name @name end |
Class Method Details
.from_hash(hash) ⇒ Object
374 375 376 |
# File 'lib/xberg/native.rb', line 374 def self.from_hash(hash) new(name: hash[:name] || hash["name"]) end |
Instance Method Details
#custom? ⇒ Boolean
368 |
# File 'lib/xberg/native.rb', line 368 def custom? = false |
#plugin? ⇒ Boolean
370 371 372 |
# File 'lib/xberg/native.rb', line 370 def plugin? = true # @param hash [Hash] deserialized from the native extension # @return [self] |
#preset? ⇒ Boolean
366 |
# File 'lib/xberg/native.rb', line 366 def preset? = false |