Sha256: e71f12aacea94f84d1ecfa4bcb844ff8336f0e24356bcb684fd76ff1325caa22
Contents?: true
Size: 1.01 KB
Versions: 8
Compression:
Stored size: 1.01 KB
Contents
module Parliament module Grom module Decorator # Decorator namespace for Grom::Node instances with type: https://id.parliament.uk/schema/ProposedNegativeStatutoryInstrumentPaper module ProposedNegativeStatutoryInstrumentPaper # Alias proposedNegativeStatutoryInstrumentPaperName with fallback. # # @return [String, String] the name of the Grom::Node or an empty string. def name respond_to?(:proposedNegativeStatutoryInstrumentPaperName) ? proposedNegativeStatutoryInstrumentPaperName : '' end # Alias proposedNegativeStatutoryInstrumentPaperPrecedesStatutoryInstrumentPaper with fallback. # # @return [Array, Array] an array of StatutoryInstrumentPaper Grom::Nodes or an empty array. def statutory_instrument_papers respond_to?(:proposedNegativeStatutoryInstrumentPaperPrecedesStatutoryInstrumentPaper) ? proposedNegativeStatutoryInstrumentPaperPrecedesStatutoryInstrumentPaper : [] end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems