Class: OpenEHR::RM::DataTypes::URI::DvUri
Constant Summary
Support::Definition::BasicDefinition::CR, Support::Definition::BasicDefinition::LF
Instance Method Summary
collapse
#==, #initialize
Instance Method Details
#fragment_id ⇒ Object
38
39
40
|
# File 'lib/openehr/rm/data_types/uri.rb', line 38
def fragment_id
@uri.fragment
end
|
#path ⇒ Object
42
43
44
|
# File 'lib/openehr/rm/data_types/uri.rb', line 42
def path
@uri.path
end
|
#query ⇒ Object
46
47
48
|
# File 'lib/openehr/rm/data_types/uri.rb', line 46
def query
@uri.query
end
|
#scheme ⇒ Object
50
51
52
|
# File 'lib/openehr/rm/data_types/uri.rb', line 50
def scheme
@uri.scheme
end
|
#value ⇒ Object
34
35
36
|
# File 'lib/openehr/rm/data_types/uri.rb', line 34
def value
@value
end
|
#value=(value) ⇒ Object
54
55
56
57
|
# File 'lib/openehr/rm/data_types/uri.rb', line 54
def value=(value)
raise ArgumentError, "value is empty" if value.nil?
parse(value)
end
|