Sha256: cb788a89baf1d8af6c5baa433562ded9759ba933092bdf402d57b8985a47e61f

Contents?: true

Size: 319 Bytes

Versions: 9

Compression:

Stored size: 319 Bytes

Contents

# frozen_string_literal: true

module RailsServerMonitor
  module Warnings
    class WarningComponent < ViewComponent::Base
      attr_reader :ctx, :snapshot, :warning
      def initialize(ctx:, snapshot:, warning:)
        @ctx = ctx
        @snapshot = snapshot
        @warning = warning
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails-server-monitor-0.2.1 app/components/rails_server_monitor/warnings/warning_component.rb
rails-server-monitor-0.2.0 app/components/rails_server_monitor/warnings/warning_component.rb
rails-server-monitor-0.1.10 app/components/rails_server_monitor/warnings/warning_component.rb
rails-server-monitor-0.1.9 app/components/rails_server_monitor/warnings/warning_component.rb
rails-server-monitor-0.1.8 app/components/rails_server_monitor/warnings/warning_component.rb
rails-server-monitor-0.1.7 app/components/rails_server_monitor/warnings/warning_component.rb
rails-server-monitor-0.1.6 app/components/rails_server_monitor/warnings/warning_component.rb
rails-server-monitor-0.1.5 app/components/rails_server_monitor/warnings/warning_component.rb
rails-server-monitor-0.1.4 app/components/rails_server_monitor/warnings/warning_component.rb