Sha256: cca478a905b73354811391a881bfdf1978ab2e46696f63e0ee260f02c94c9f6d

Contents?: true

Size: 369 Bytes

Versions: 10

Compression:

Stored size: 369 Bytes

Contents

# frozen_string_literal: true

module Mensa
  module RowAction
    class Component < ::Mensa::ApplicationComponent
      with_collection_parameter :action

      attr_reader :table
      attr_reader :row
      attr_reader :action

      def initialize(table:, row:, action:)
        @table = table
        @row = row
        @action = action
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mensa-0.1.15 app/components/mensa/row_action/component.rb
mensa-0.1.14 app/components/mensa/row_action/component.rb
mensa-0.1.13 app/components/mensa/row_action/component.rb
mensa-0.1.12 app/components/mensa/row_action/component.rb
mensa-0.1.10 app/components/mensa/row_action/component.rb
mensa-0.1.9 app/components/mensa/row_action/component.rb
mensa-0.1.7 app/components/mensa/row_action/component.rb
mensa-0.1.6 app/components/mensa/row_action/component.rb
mensa-0.1.4 app/components/mensa/row_action/component.rb
mensa-0.1.3 app/components/mensa/row_action/component.rb