Module: LLM::ActiveRecord::ActsAsLLM::Hooks
- Defined in:
- lib/llm/active_record/acts_as_llm.rb
Class Method Summary collapse
-
.extended(model)
Called when hooks are extended onto an ActiveRecord model.
Class Method Details
.extended(model)
This method returns an undefined value.
Called when hooks are extended onto an ActiveRecord model.
31 32 33 |
# File 'lib/llm/active_record/acts_as_llm.rb', line 31 def self.extended(model) model.include InstanceMethods unless model.ancestors.include?(InstanceMethods) end |