module NationalGrid class LatitudeLongitude include Inspect def to_a [latitude, longitude, elevation] end private def inspect_attributes "latitude=%.6f longitude=%.6f elevation=%.3f" % to_a end end end