Sha256: 331b860da4ad59ee4ea80781c1588b0aed4c79146c1c6a9576e8fba8677ed423

Contents?: true

Size: 394 Bytes

Versions: 56

Compression:

Stored size: 394 Bytes

Contents

module <%= component_namespace %>
  class <%= component_classname %> < PlutoniumUi::Base
    private

    def base_attributes
      # base attributes go here
      {
        classname: "<%= controller_identifier %>",
        controller: "<%= controller_identifier %>"
      }
    end
  end
end

Plutonium::ComponentRegistry.register :<%= component_identifier %>, to: <%= component_reference %>

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
plutonium-0.12.13 lib/generators/pu/gen/component/templates/component.rb.tt
plutonium-0.12.12 lib/generators/pu/gen/component/templates/component.rb.tt
plutonium-0.12.11 lib/generators/pu/gen/component/templates/component.rb.tt
plutonium-0.12.10 lib/generators/pu/gen/component/templates/component.rb.tt
plutonium-0.12.9 lib/generators/pu/gen/component/templates/component.rb.tt
plutonium-0.12.8 lib/generators/pu/gen/component/templates/component.rb.tt
plutonium-0.12.7 lib/generators/pu/gen/component/templates/component.rb.tt
plutonium-0.12.5 lib/generators/pu/gen/component/templates/component.rb.tt
plutonium-0.12.4 lib/generators/pu/gen/component/templates/component.rb.tt
plutonium-0.12.3 lib/generators/pu/gen/component/templates/component.rb.tt
plutonium-0.12.2 lib/generators/pu/gen/component/templates/component.rb.tt
plutonium-0.12.1 lib/generators/pu/gen/component/templates/component.rb.tt
plutonium-0.12.0 lib/generators/pu/gen/component/templates/component.rb.tt
plutonium-0.11.2 lib/generators/pu/gen/component/templates/component.rb.tt
plutonium-0.11.1 lib/generators/pu/gen/component/templates/component.rb.tt
plutonium-0.11.0 lib/generators/pu/gen/component/templates/component.rb.tt