Class: Rager::ContextOptions
- Inherits:
-
T::Struct
- Object
- T::Struct
- Rager::ContextOptions
- Extended by:
- T::Sig
- Defined in:
- lib/rager/context_options.rb
Class Method Summary collapse
Class Method Details
.extract_kwargs(kwargs) ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/rager/context_options.rb', line 15 def self.extract_kwargs(kwargs) { input_ids: kwargs.delete(:input_ids), tags: kwargs.delete(:tags), name: kwargs.delete(:name) }.compact end |