Class: VORuby::Resources::VOResource::V0_10::ShortName
- Includes:
- XML::Mapping
- Defined in:
- lib/voruby/resources/voresource/voresource_v0_10.rb,
lib/voruby/resources/voresource/voresource_v0_10.rb
Overview
A short name or abbreviation given to something.
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#value=(short_name) ⇒ Object
66 67 68 69 70 |
# File 'lib/voruby/resources/voresource/voresource_v0_10.rb', line 66 def value=(short_name) raise RuntimeError, "ShortName '#{short_name}' must have <= 16 characters" if short_name.size > 16 @value = short_name end |