Sha256: 55c5b7715a5e629e441dd70bf41bfc0aa4d3f2d5944eee3d92793364de76c2b7

Contents?: true

Size: 866 Bytes

Versions: 1

Compression:

Stored size: 866 Bytes

Contents

# rm::composition::content::navigation
# navigation module
# http://www.openehr.org/uml/release-1.0.1/Browsable/_9_0_76d0249_1109264528523_312165_346Report.html
# refs #56

require 'openehr/rm/composition/content'

module OpenEHR
  module RM
    module Composition
      module Content
        module Navigation
          class Section < ::OpenEHR::RM::Composition::Content::ContentItem
            attr_reader :items 

            def initialize(args = { })
              super(args)
              self.items = args[:items]
            end

            def items=(items)
              if !items.nil? && items.empty?
                raise ArgumentError, 'items should not be empty'
              end
              @items = items
            end
          end
        end
      end # end of Content
    end # end of Composition
  end # end of RM
end # end of OpenEHR

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openehr-1.2.8 lib/openehr/rm/composition/content/navigation.rb