source: ruby/branches/0.5/lib/open_ehr/rm/composition/content/navigation.rb@ 347

Last change on this file since 347 was 347, checked in by KOBAYASHI, Shinji, 14 years ago

fixed #56

File size: 829 bytes
Line 
1# rm::composition::content::navigation
2# navigation module
3# http://www.openehr.org/uml/release-1.0.1/Browsable/_9_0_76d0249_1109264528523_312165_346Report.html
4# refs #56
5include OpenEHR::RM::Composition::Content
6
7module OpenEHR
8 module RM
9 module Composition
10 module Content
11 module Navigation
12 class Section < ContentItem
13 attr_reader :items
14
15 def initialize(args = { })
16 super(args)
17 self.items = args[:items]
18 end
19
20 def items=(items)
21 if !items.nil? && items.empty?
22 raise ArgumentError, 'items should not be empty'
23 end
24 @items = items
25 end
26 end
27 end
28 end # end of Content
29 end # end of Composition
30 end # end of RM
31end # end of OpenEHR
Note: See TracBrowser for help on using the repository browser.