Sha256: d368e2f56b85e62aee3df2ea7419ac5fcf634f8154eb74ccf37ed6be13b8234e
Contents?: true
Size: 470 Bytes
Versions: 38
Compression:
Stored size: 470 Bytes
Contents
module Parliament module Grom module Decorator # Decorator namespace for Grom::Node instances with type: https://id.parliament.uk/schema/MemberImage module MemberImage # Alias memberImageHasMember with fallback. # # @return [Grom::Node, nil] the person connected to the Grom::Node or nil. def person respond_to?(:memberImageHasMember) ? memberImageHasMember.first : nil end end end end end
Version data entries
38 entries across 38 versions & 1 rubygems