Sha256: 8b392a9edb8fdcff775ed6b43791808060dd510817a819a6b682afd9e02fd805
Contents?: true
Size: 546 Bytes
Versions: 13
Compression:
Stored size: 546 Bytes
Contents
# frozen_string_literal: true module Bridgetown module Drops class BridgetownDrop < Liquid::Drop class << self def global @global ||= BridgetownDrop.new end end def version Bridgetown::VERSION end def environment Bridgetown.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
13 entries across 13 versions & 1 rubygems