File: context.rb

package info (click to toggle)
ruby-jekyll-titles-from-headings 0.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 84 kB
  • sloc: ruby: 130; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 215 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module JekyllTitlesFromHeadings
  class Context
    attr_reader :site

    def initialize(site)
      @site = site
    end

    def registers
      { :site => site }
    end
  end
end