Sha256: a415ecc9cc67fbcae87f2882199b640fac2b3992055734f62e8cb0f797f602ba

Contents?: true

Size: 333 Bytes

Versions: 8

Compression:

Stored size: 333 Bytes

Contents

module <%= class_name %>
  ROUTES = ::Kapellmeister::Base.routes_scheme_parse('app/lib/<%= file_name %>/routes.yml')

  class << self
    include ::Kapellmeister::Base

  <%- initialize_signatures.each do |attr| -%>
    <%= "def #{attr}" %>
      <%= "@#{attr} ||= configuration.#{attr}" %>
    <%= "end" %>

  <%- end -%>
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
kapellmeister-0.4.0 lib/generators/kapellmeister/templates/lib/third_party.rb.tt
kapellmeister-0.3.0 lib/generators/kapellmeister/templates/lib/third_party.rb.tt
kapellmeister-0.2.0 lib/generators/kapellmeister/templates/lib/third_party.rb.tt
kapellmeister-0.1.3 lib/generators/kapellmeister/templates/lib/third_party.rb.tt
kapellmeister-0.1.2 lib/generators/kapellmeister/templates/lib/third_party.rb.tt
kapellmeister-0.1.1 lib/generators/kapellmeister/templates/lib/third_party.rb.tt
kapellmeister-0.1.0 lib/generators/kapellmeister/templates/lib/third_party.rb.tt
kapellmeister-0.0.2 lib/generators/kapellmeister/templates/lib/third_party.rb.tt