Sha256: 911327dd86e2840be35dff61a7d3b4fa3fbfc04abbbad4b92f1b7221f6f55f38

Contents?: true

Size: 182 Bytes

Versions: 31

Compression:

Stored size: 182 Bytes

Contents

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

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
view_component-2.9.0 lib/rails/generators/component/templates/component.rb.tt
view_component-2.8.0 lib/rails/generators/component/templates/component.rb.tt
view_component-2.7.0 lib/rails/generators/component/templates/component.rb.tt
view_component-2.6.0 lib/rails/generators/component/templates/component.rb.tt
view_component-2.5.1 lib/rails/generators/component/templates/component.rb.tt
view_component-2.5.0 lib/rails/generators/component/templates/component.rb.tt
view_component-2.4.0 lib/rails/generators/component/templates/component.rb.tt
view_component-2.3.0 lib/rails/generators/component/templates/component.rb.tt
view_component-2.2.2 lib/rails/generators/component/templates/component.rb.tt
view_component-2.2.1 lib/rails/generators/component/templates/component.rb.tt
view_component-2.2.0 lib/rails/generators/component/templates/component.rb.tt