Changeset 89 for ruby/trunk/lib/models/rm/data_types/text.rb
- Timestamp:
- Jul 26, 2008, 8:05:09 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ruby/trunk/lib/models/rm/data_types/text.rb
r4 r89 1 # This module implemented from this UML 2 # http://www.openehr.org/uml/release-1.0.1/Browsable/_9_0_76d0249_1109067605961_209522_3179Report.html 3 # Ticket refs #48 1 4 module OpenEHR 2 5 module RM … … 44 47 attr_reader :terminology_id, :code_string 45 48 def initialize(terminology_id, code_string) 46 if terminlogyID == nil49 if terminlogyID.nil? 47 50 raise Exception.new("nil terminology") 48 51 end 49 if code_string == nil52 if code_string.nil? 50 53 raise Exception.new("empty codeString") 51 54 end
Note:
See TracChangeset
for help on using the changeset viewer.