Module: DSPy::Support::WarningFilters::WarningSilencer
- Defined in:
- lib/dspy/support/warning_filters.rb
Instance Method Summary collapse
Instance Method Details
#warn(message = nil, category: nil, **kwargs) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/dspy/support/warning_filters.rb', line 9 def warn( = nil, category: nil, **kwargs) msg = .to_s return if msg.include?(RUBY2_KEYWORDS_MESSAGE) super(, category: category, **kwargs) end |