Sha256: 5499fac51c7fa1f26a6f76e7726efd3beb438c809553b142d550c257c0dbd8e4
Contents?: true
Size: 526 Bytes
Versions: 31
Compression:
Stored size: 526 Bytes
Contents
# frozen_string_literal: true module Jekyll module Drops class JekyllDrop < Liquid::Drop class << self def global @global ||= JekyllDrop.new end end def version Jekyll::VERSION end def environment Jekyll.env end def to_h @to_h ||= { "version" => version, "environment" => environment, } end def to_json(state = nil) JSON.generate(to_h, state) end end end end
Version data entries
31 entries across 31 versions & 1 rubygems