lib/torque/postgresql/geometry_builder.rb in torque-postgresql-1.0.0 vs lib/torque/postgresql/geometry_builder.rb in torque-postgresql-1.0.1

- old
+ new

@@ -5,10 +5,10 @@ DESTRUCTOR = /[<>{}()]/.freeze NUMBER_SERIALIZER = ->(num) { num.to_s.gsub(/\.0$/, '') } def type return self.class.const_get('TYPE') if self.class.const_defined?('TYPE') - self.class.const_set('TYPE', self.class.name.demodulize.underscore) + self.class.const_set('TYPE', self.class.name.demodulize.underscore.to_sym) end def pieces self.class.const_get('PIECES') end