File: translatable_component.rb

package info (click to toggle)
ruby-view-component 4.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,832 kB
  • sloc: ruby: 8,385; sh: 166; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 202 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class Performance::TranslatableComponent < ViewComponent::Base
  def initialize(key)
    @key = key
  end

  def self.virtual_path
    "/translatable_component"
  end
end