Class: SpatialAndTimeAttribute

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/spatial_and_time_attribute.rb

Instance Method Summary collapse

Instance Method Details

#longitude_lb=(v) ⇒ Object



4
5
6
# File 'app/models/spatial_and_time_attribute.rb', line 4

def longitude_lb=(v)
  super(v % 360)    # to ensure 0..360
end

#longitude_rt=(v) ⇒ Object



7
8
9
# File 'app/models/spatial_and_time_attribute.rb', line 7

def longitude_rt=(v)
  super(v % 360)    # to ensure 0..360
end