Class: VORuby::Resources::VOResource::V0_10::ResourceKey
- Inherits:
-
Object
- Object
- VORuby::Resources::VOResource::V0_10::ResourceKey
show all
- Includes:
- XML::Mapping
- Defined in:
- lib/voruby/resources/voresource/voresource_v0_10.rb,
lib/voruby/resources/voresource/voresource_v0_10.rb
Instance Method Summary
collapse
Instance Method Details
#value=(reskey) ⇒ Object
250
251
252
253
254
|
# File 'lib/voruby/resources/voresource/voresource_v0_10.rb', line 250
def value=(reskey)
raise RuntimeError, "ResourceKey '#{reskey} in wrong format" if !reskey.match("^[\w\d\-_\.!~\*'\(\)\+=]+(/[\w\d\-_\.!~\*'\(\)\+=]+)*$")
@value = reskey
end
|