Sha256: f0059f98739ed9e38af7901893b495e7ffaeee777175f5addce81de85914bb76

Contents?: true

Size: 318 Bytes

Versions: 87

Compression:

Stored size: 318 Bytes

Contents

class KuberKit::TemplateReader::ActionHandler
  include KuberKit::Import[
    "template_reader.reader",
    "core.template_store",
  ]

  Contract KuberKit::Shell::AbstractShell, Symbol => Any
  def call(shell, template_name)
    template = template_store.get(template_name)

    reader.read(shell, template)
  end
end

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
kuber_kit-0.3.4 lib/kuber_kit/template_reader/action_handler.rb
kuber_kit-0.3.3 lib/kuber_kit/template_reader/action_handler.rb
kuber_kit-0.3.2 lib/kuber_kit/template_reader/action_handler.rb
kuber_kit-0.3.1 lib/kuber_kit/template_reader/action_handler.rb
kuber_kit-0.3.0 lib/kuber_kit/template_reader/action_handler.rb
kuber_kit-0.2.9 lib/kuber_kit/template_reader/action_handler.rb
kuber_kit-0.2.8 lib/kuber_kit/template_reader/action_handler.rb