Sha256: d3c7dbb78d3c70f453a5dd5d25034604fc2947903d4f69cb4a5ff0601350ee8a
Contents?: true
Size: 489 Bytes
Versions: 23
Compression:
Stored size: 489 Bytes
Contents
module Parliament module Grom module Decorator # Decorator namespace for Grom::Node instances with type: https://id.parliament.uk/schema/FormalBodyChair. module FormalBodyChair # Alias positionHasIncumbency with fallback. # # @return [Array, Array] all the incumbencies of the Grom::Node or an empty array. def incumbencies respond_to?(:positionHasIncumbency) ? positionHasIncumbency : [] end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems