Sha256: 8c83336e4157eb814651df2326271716670841d4a7befef7221defbfcd2b7997

Contents?: true

Size: 314 Bytes

Versions: 16

Compression:

Stored size: 314 Bytes

Contents

# frozen_string_literal: true

<% module_namespacing do -%>
class <%= class_name %>Config < ApplicationConfig
<%- if needs_config_name? %>
  config_name :<%= file_name %>
<%- end -%>
<%- unless parameters.empty? -%>
  attr_config <%= parameters.map { |param| ":#{param}" }.join(", ") %>
<%- end -%>
end
<% end -%>

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
anyway_config-2.7.1 lib/generators/anyway/config/templates/config.rb.tt
anyway_config-2.7.0 lib/generators/anyway/config/templates/config.rb.tt
anyway_config-2.6.4 lib/generators/anyway/config/templates/config.rb.tt
anyway_config-2.6.3 lib/generators/anyway/config/templates/config.rb.tt
anyway_config-2.6.2 lib/generators/anyway/config/templates/config.rb.tt
anyway_config-2.6.1 lib/generators/anyway/config/templates/config.rb.tt
anyway_config-2.6.0 lib/generators/anyway/config/templates/config.rb.tt
runger_config-3.0.0 lib/generators/anyway/config/templates/config.rb.tt
runger_config-2.7.0 lib/generators/anyway/config/templates/config.rb.tt
runger_config-2.6.1 lib/generators/anyway/config/templates/config.rb.tt
runger_config-2.6.0 lib/generators/anyway/config/templates/config.rb.tt
anyway_config-2.5.4 lib/generators/anyway/config/templates/config.rb.tt
anyway_config-2.5.3 lib/generators/anyway/config/templates/config.rb.tt
anyway_config-2.5.2 lib/generators/anyway/config/templates/config.rb.tt
anyway_config-2.5.1 lib/generators/anyway/config/templates/config.rb.tt
anyway_config-2.5.0 lib/generators/anyway/config/templates/config.rb.tt