class Riffer::Deprecation::Event
rbs_inline: enabled
Attributes
Public Class Methods
Source
# File lib/riffer/deprecation/event.rb, line 13 def initialize(id:, message:, location:) @id = id @message = message @location = location end
Public Instance Methods
Source
# File lib/riffer/deprecation/event.rb, line 21 def to_s text = "riffer: #{message}" location ? "#{text} Called from #{location}." : text end