Sha256: ebb5a2eb07d5f1f405ffc8b5eba388ae6f172de3b0823c0bbfb064d721d77068
Contents?: true
Size: 415 Bytes
Versions: 16
Compression:
Stored size: 415 Bytes
Contents
# frozen_string_literal: true module Bridgetown module DataAccessible # Returns the contents as a String. def to_s output || content || "" end # Accessor for data properties by Liquid. # # property - The String name of the property to retrieve. # # Returns the String value or nil if the property isn't included. def [](property) data[property] end end end
Version data entries
16 entries across 16 versions & 1 rubygems