Sha256: 5b5e5a7b1dbccb450acaae32319007c79c477cb28a6f5d20f57f22a673db79c5

Contents?: true

Size: 829 Bytes

Versions: 25

Compression:

Stored size: 829 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
include OpenEHR::RM::Composition::Content

module OpenEHR
  module RM
    module Composition
      module Content
        module Navigation
          class Section < 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

25 entries across 25 versions & 2 rubygems

Version Path
open_ehr-0.9.3 lib/open_ehr/rm/composition/content/navigation.rb
open_ehr-0.9.2 lib/open_ehr/rm/composition/content/navigation.rb
open_ehr-0.9.1 lib/open_ehr/rm/composition/content/navigation.rb
open_ehr-0.9.0 lib/open_ehr/rm/composition/content/navigation.rb
open_ehr-0.6.1 lib/open_ehr/rm/composition/content/navigation.rb