Sha256: a93cc29bdbcce92536a156c7a95888fae65235b3f8be6f8960b77a675b57ae90
Contents?: true
Size: 512 Bytes
Versions: 2
Compression:
Stored size: 512 Bytes
Contents
class StaticMatic::AmbiguousTemplateError < StandardError attr_reader :template_name def initialize(template_name, ambiguous_templates) @template_name = template_name @ambiguous_templates = ambiguous_templates end def message <<-MESSAGE Ambiguous request when searching for a template for filename `#{@template_name}`: There is more than one type of template available for rendering. Templates causing the ambiguity: #{@ambiguous_templates.join "\n"} MESSAGE end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
staticmatic3-2.1.10 | lib/staticmatic/ambiguous_template_error.rb |
staticmatic3-2.1.9 | lib/staticmatic/ambiguous_template_error.rb |