Exception: Jekyll::Disqus::DuplicatedDisqusId
- Inherits:
-
StandardError
- Object
- StandardError
- Jekyll::Disqus::DuplicatedDisqusId
- Defined in:
- lib/jekyll/disqus/utils.rb
Overview
Duplicated Disqus ID among pages and posts.
Instance Method Summary collapse
-
#initialize(args) ⇒ DuplicatedDisqusId
constructor
A new instance of DuplicatedDisqusId.
Constructor Details
#initialize(args) ⇒ DuplicatedDisqusId
Returns a new instance of DuplicatedDisqusId.
36 37 38 39 |
# File 'lib/jekyll/disqus/utils.rb', line 36 def initialize(args) super "The page at the URL: #{args[:current_url]} has the same Disqus ID of: #{args[:duplicated_url]} (#{args[:id]})!" end |