Sha256: 40b1c37c7c78ec51fc7e8f2ff3b47a190e76ad970c022843c1792c21779faa26

Contents?: true

Size: 401 Bytes

Versions: 6

Compression:

Stored size: 401 Bytes

Contents

require 'voom/presenters/dsl/components/actions/base'


module Voom
  module Presenters
    module Plugins
      module <%= classify(name) %>
          class <%= classify(name) %>Action < DSL::Components::Actions::Base
            def initialize(**attribs_, &block)
              super(type: :<%= underscore(name) %>_action, **attribs_, &block)
            end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
voom-presenters-2.1.2 lib/voom/presenters/generators/templates/plugin/lib/voom/presenters/plugins/components/actions/action.rb.tt
voom-presenters-2.1.0 lib/voom/presenters/generators/templates/plugin/lib/voom/presenters/plugins/components/actions/action.rb.tt
voom-presenters-2.0.3 lib/voom/presenters/generators/templates/plugin/lib/voom/presenters/plugins/components/actions/action.rb.tt
voom-presenters-2.0.2 lib/voom/presenters/generators/templates/plugin/lib/voom/presenters/plugins/components/actions/action.rb.tt
voom-presenters-2.0.1 lib/voom/presenters/generators/templates/plugin/lib/voom/presenters/plugins/components/actions/action.rb.tt
voom-presenters-2.0.0 lib/voom/presenters/generators/templates/plugin/lib/voom/presenters/plugins/components/actions/action.rb.tt