]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/concerns/geo_record.rb
Handle new rubocop warnings
[rails.git] / app / models / concerns / geo_record.rb
index a5635c1729b2610442df10a8019f30f2ad614029..23101856af59af4b1d79b98e6657942fad6f326a 100644 (file)
@@ -5,10 +5,6 @@ module GeoRecord
   # and not e.g. 4.0e-05
   # Unfortunately you can't extend Numeric classes directly (e.g. `Coord < Float`).
   class Coord < DelegateClass(Float)
-    def initialize(obj)
-      super(obj)
-    end
-
     def to_s
       format("%<coord>.7f", :coord => self)
     end