Class: Slack::Notifier::Util::LinkFormatter
- Inherits:
-
Object
- Object
- Slack::Notifier::Util::LinkFormatter
- Defined in:
- lib/mihari/slack_monkeypatch.rb
Class Method Summary collapse
Class Method Details
.format(string, opts = {}) ⇒ Object
8 9 10 11 |
# File 'lib/mihari/slack_monkeypatch.rb', line 8 def format(string, opts = {}) # Resolve warning in Ruby 2.7 LinkFormatter.new(string, **opts).formatted end |