Sha256: 7c5c7def55b10f98f9c8be0a02353fe51083401f16ae7ed9fc87c59063618c5a
Contents?: true
Size: 662 Bytes
Versions: 7
Compression:
Stored size: 662 Bytes
Contents
module Parliament module Grom module Decorator # Decorator namespace for Grom::Node instances with type: https://id.parliament.uk/schema/WorkdPackagedThing module WorkPackagedThing # Alias workPackagedThingHasWorkPackage with fallback. # # @return [Grom::Node, nil] a work package Grom::Node or nil. def work_package return @work_package if @work_package return nil unless respond_to?(:workPackagedThingHasWorkPackage) @work_package = Helpers::Utils.type_safe_first(workPackagedThingHasWorkPackage, Parliament::Grom::Decorator::WorkPackage) end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems