method
number_for_point
v4.2.9 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Point
number_for_point(number)private
No documentation available.
# File activerecord/lib/active_record/connection_adapters/postgresql/oid/point.rb, line 36
def number_for_point(number)
number.to_s.gsub(/\.0$/, '')
end