Method: Spectre.setup

Defined in:
lib/spectre.rb

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Spectre)

    the object that the method was called on



41
42
43
44
# File 'lib/spectre.rb', line 41

def setup
  yield self
  validate_llm_provider!
end