File: page_without_a_file.rb

package info (click to toggle)
ruby-jekyll-redirect-from 0.16.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 284 kB
  • sloc: ruby: 659; sh: 17; makefile: 4
file content (9 lines) | stat: -rw-r--r-- 155 bytes parent folder | download
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

module JekyllRedirectFrom
  class PageWithoutAFile < Jekyll::Page
    def read_yaml(*)
      @data ||= {}
    end
  end
end