Module: DSPy::Support::WarningFilters
- Defined in:
- lib/dspy/support/warning_filters.rb
Defined Under Namespace
Modules: WarningSilencer
Constant Summary collapse
- RUBY2_KEYWORDS_MESSAGE =
'Skipping set of ruby2_keywords flag for forward'
Class Method Summary collapse
Class Method Details
.install! ⇒ Object
17 18 19 20 21 22 |
# File 'lib/dspy/support/warning_filters.rb', line 17 def self.install! return if @installed Warning.singleton_class.prepend(WarningSilencer) @installed = true end |