Module: Drifter::Rails::InstanceMethods::LatAccessors

Defined in:
lib/drifter-rails/instance_methods.rb

Overview

nodoc

Instance Method Summary collapse

Instance Method Details

#latObject

nodoc



17
18
19
# File 'lib/drifter-rails/instance_methods.rb', line 17

def lat
  self.send self.class.lat_column_name
end

#lat=(value) ⇒ Object

nodoc



22
23
24
25
# File 'lib/drifter-rails/instance_methods.rb', line 22

def lat=(value)
  writer = "#{self.class.lat_column_name}="
  self.send writer, value
end