Module: Drifter::Rails::InstanceMethods::LngAccessors
- Defined in:
- lib/drifter-rails/instance_methods.rb
Overview
nodoc
Instance Method Summary collapse
-
#lng ⇒ Object
nodoc.
-
#lng=(value) ⇒ Object
nodoc.
Instance Method Details
#lng ⇒ Object
nodoc
33 34 35 |
# File 'lib/drifter-rails/instance_methods.rb', line 33 def lng self.send self.class.lng_column_name end |
#lng=(value) ⇒ Object
nodoc
38 39 40 41 |
# File 'lib/drifter-rails/instance_methods.rb', line 38 def lng=(value) writer = "#{self.class.lng_column_name}=" self.send writer, value end |