Ignore:
Timestamp:
Aug 6, 2009, 1:20:05 AM (15 years ago)
Author:
KOBAYASHI, Shinji
Message:

adjust for rails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ruby/branches/0.5.0/lib/open_ehr/rm/data_types/uri.rb

    r104 r167  
    55require 'uri'
    66#require 'uri/generic'
    7 module URI
    8   class EHR < ::URI::Generic
     7module Uri
     8  class Ehr < ::URI::Generic
    99    COMPONENT = [
    1010      :scheme, :path, :fragment, :query
     
    2121    end
    2222  end
    23   @@schemes['EHR'] = EHR
     23  @@schemes['EHR'] = Ehr
    2424end
    2525
    26 module OpenEHR
     26module OpenEhr
    2727  module RM
    28     module Data_Types
    29       module URI
    30         class DV_URI < OpenEHR::RM::Data_Types::Basic::Data_Value
     28    module DataTypes
     29      module Uri
     30        class DvUri < OpenEhr::RM::DataTypes::Basic::DataValue
    3131          def initialize(value)
    3232            self.value = value
     
    5757        end
    5858
    59         class DV_EHR_URI < DV_URI
     59        class DvEhrUri < DvUri
    6060          def initialize(value)
    6161            super(value)
     
    6767        end # of DV_EHR_URI
    6868      end # of URI
    69     end # of Data_Type
     69    end # of DataTypes
    7070  end # of RM
    7171end # of OpenEHR
Note: See TracChangeset for help on using the changeset viewer.