Sha256: 68350c2453d12d7c94ffc3e15783975633ef3bc45eee41c947ed65294515589d

Contents?: true

Size: 232 Bytes

Versions: 37

Compression:

Stored size: 232 Bytes

Contents

module Potassium
  class TemplateFinder
    TEMPLATES = {
      default: Potassium::ApplicationGenerator
    }

    def default_template
      find(:default)
    end

    def find(name)
      TEMPLATES.fetch(name)
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
potassium-7.2.0 lib/potassium/template_finder.rb
potassium-7.1.0 lib/potassium/template_finder.rb
potassium-7.0.0 lib/potassium/template_finder.rb
potassium-6.7.0 lib/potassium/template_finder.rb
potassium-6.6.0 lib/potassium/template_finder.rb
potassium-6.5.0 lib/potassium/template_finder.rb
potassium-6.4.0 lib/potassium/template_finder.rb
potassium-6.3.0 lib/potassium/template_finder.rb
potassium-6.2.0 lib/potassium/template_finder.rb
potassium-6.1.0 lib/potassium/template_finder.rb
potassium-6.0.0 lib/potassium/template_finder.rb
potassium-5.2.3 lib/potassium/template_finder.rb
potassium-5.2.2 lib/potassium/template_finder.rb
potassium-5.2.1 lib/potassium/template_finder.rb
potassium-5.2.0 lib/potassium/template_finder.rb
potassium-5.1.4 lib/potassium/template_finder.rb
potassium-5.1.3 lib/potassium/template_finder.rb
potassium-5.1.2 lib/potassium/template_finder.rb
potassium-5.1.1 lib/potassium/template_finder.rb
potassium-3.0.0 lib/potassium/template_finder.rb