Sha256: 3c83e23ecddb5a88adf51817f50344c5de737f165df5c9724a7b9816d1238d03

Contents?: true

Size: 213 Bytes

Versions: 4

Compression:

Stored size: 213 Bytes

Contents

# frozen_string_literal: true

class <%= class_name %>Component < <%= parent_class %>
<%- if initialize_signature -%>
  def initialize(<%= initialize_signature %>)
    <%= initialize_body %>
  end
<%- end -%>
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
view_component-2.24.0 lib/rails/generators/component/templates/component.rb.tt
view_component-2.23.2 lib/rails/generators/component/templates/component.rb.tt
view_component-2.23.1 lib/rails/generators/component/templates/component.rb.tt
view_component-2.23.0 lib/rails/generators/component/templates/component.rb.tt