Exception: Jekyll::Gallery::MissingFileField

Inherits:
StandardError
  • Object
show all
Defined in:
lib/jekyll/gallery/utils.rb

Overview

Not existing file field

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ MissingFileField

Returns a new instance of MissingFileField.



68
69
70
# File 'lib/jekyll/gallery/utils.rb', line 68

def initialize(data)
  super "No 'file' field in the gallery '#{data[:name]}' item n.#{data[:idx]}!"
end