Class: VORuby::Resources::VODataService::V0_5::ArrayShape
- Includes:
- XML::Mapping
- Defined in:
- lib/voruby/resources/vodataservice/vodataservice_v0_5.rb,
lib/voruby/resources/vodataservice/vodataservice_v0_5.rb
Instance Method Summary collapse
Instance Method Details
#value=(shape) ⇒ Object
127 128 129 130 131 |
# File 'lib/voruby/resources/vodataservice/vodataservice_v0_5.rb', line 127 def value=(shape) raise RuntimeError, "ArrayShape '#{shape}' in wrong format" if !shape.match(/^([0-9]+x)*[0-9]*[*]?$/) @value = shape end |