method
values_array_from_hash
v8.0.0 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Point
values_array_from_hash(value)private
No documentation available.
# File activerecord/lib/active_record/connection_adapters/postgresql/oid/point.rb, line 67
def values_array_from_hash(value)
[value.values_at(:x, "x").compact.first, value.values_at(:y, "y").compact.first]
end