Changeset 167 for ruby/branches/0.5.0/lib/open_ehr/rm/data_types/uri.rb
- Timestamp:
- Aug 6, 2009, 1:20:05 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ruby/branches/0.5.0/lib/open_ehr/rm/data_types/uri.rb
r104 r167 5 5 require 'uri' 6 6 #require 'uri/generic' 7 module U RI8 class E HR< ::URI::Generic7 module Uri 8 class Ehr < ::URI::Generic 9 9 COMPONENT = [ 10 10 :scheme, :path, :fragment, :query … … 21 21 end 22 22 end 23 @@schemes['EHR'] = E HR23 @@schemes['EHR'] = Ehr 24 24 end 25 25 26 module OpenE HR26 module OpenEhr 27 27 module RM 28 module Data _Types29 module U RI30 class D V_URI < OpenEHR::RM::Data_Types::Basic::Data_Value28 module DataTypes 29 module Uri 30 class DvUri < OpenEhr::RM::DataTypes::Basic::DataValue 31 31 def initialize(value) 32 32 self.value = value … … 57 57 end 58 58 59 class D V_EHR_URI < DV_URI59 class DvEhrUri < DvUri 60 60 def initialize(value) 61 61 super(value) … … 67 67 end # of DV_EHR_URI 68 68 end # of URI 69 end # of Data _Type69 end # of DataTypes 70 70 end # of RM 71 71 end # of OpenEHR
Note:
See TracChangeset
for help on using the changeset viewer.