method
number_for_point
v6.0.0 -
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 54
def number_for_point(number)
number.to_s.gsub(/\.0$/, "")
end