Class: PromptCanary::Prompt

Inherits:
Object
  • Object
show all
Includes:
Promptable
Defined in:
lib/prompt_canary/prompt.rb

Class Method Summary collapse

Methods included from Promptable

included

Class Method Details

.inherited(subclass) ⇒ Object



7
8
9
10
11
# File 'lib/prompt_canary/prompt.rb', line 7

def self.inherited(subclass)
  warn "[PromptCanary] Inheriting from PromptCanary::Prompt is deprecated. " \
       "Use `include PromptCanary::Promptable` instead."
  super
end