Class: GeneratorOptions

Inherits:
Dry::Struct
  • Object
show all
Defined in:
lib/hyrum.rb

Class Method Summary collapse

Class Method Details

.from_parent(parent) ⇒ Object



71
72
73
# File 'lib/hyrum.rb', line 71

def self.from_parent(parent)
  new(parent.to_h.slice(:message, :key, :ai_service, :ai_model, :number, :verbose))
end