Class: VORuby::STC::V1_30::VelTimeUnitType

Inherits:
UnitType show all
Defined in:
lib/voruby/stc/1.30/stc.rb

Overview

Velocity units are a posUnitType / velTimeType; the latter may be second, day, hour, year (a or yr), century, but not empty.

Instance Attribute Summary

Attributes inherited from Enumeration

#choices, #value

Class Method Summary collapse

Methods inherited from Enumeration

#==, #initialize, #to_s

Constructor Details

This class inherits a constructor from Enumeration

Class Method Details

.choicesObject



59
# File 'lib/voruby/stc/1.30/stc.rb', line 59

def self.choices; ['s', 'h', 'd', 'a', 'yr', 'cy'] end