Sha256: 04b8e66ff36bc077664077c1cfdec373b72ed621d96612d66c3e431f74f49ab6

Contents?: true

Size: 138 Bytes

Versions: 5

Compression:

Stored size: 138 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
view_component-2.1.0 lib/rails/generators/component/templates/component.rb.tt
view_component-2.0.0 lib/rails/generators/component/templates/component.rb.tt
view_component-1.17.0 lib/rails/generators/component/templates/component.rb.tt
actionview-component-1.17.0 lib/rails/generators/component/templates/component.rb.tt
view_component-1.16.0 lib/rails/generators/component/templates/component.rb.tt