Sha256: 1ebda43fd4137c69a365a5bdc027ad3bf0e881baba72f822309bd838f07fd2d8
Contents?: true
Size: 441 Bytes
Versions: 8
Compression:
Stored size: 441 Bytes
Contents
module Parliament module Grom module Decorator # Decorator namespace for Grom::Node instances with type: https://id.parliament.uk/schema/LaidThing module LaidThing # Alias laidThingHasLaying with fallback. # # @return [Grom::Node, nil] a laying Grom::Node or nil. def laying respond_to?(:laidThingHasLaying) ? laidThingHasLaying.first : nil end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems