Method: Proj::Unit#unit_type
- Defined in:
- lib/proj/unit.rb
#unit_type ⇒ Object
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'lib/proj/unit.rb', line 82 def unit_type case self.category when "linear" :PJ_UT_LINEAR when "linear_per_time" :PJ_UT_LINEAR when "angular" :PJ_UT_ANGULAR when "angular_per_time" :PJ_UT_ANGULAR when "scale" :PJ_UT_SCALE when "scale_per_time" :PJ_UT_SCALE when "time" :PJ_UT_TIME end end |