lib/picky/indexed/wrappers/bundle/location.rb in picky-3.0.0.pre5 vs lib/picky/indexed/wrappers/bundle/location.rb in picky-3.0.0
- old
+ new
@@ -28,10 +28,10 @@
#
def load
# Load first the bundle, then extract the config.
#
bundle.load
- # TODO Move the to_f to the backend.
+ # THINK Can I move the to_f to the backend?
#
minimum = bundle[:location_minimum] && bundle[:location_minimum].to_f || raise("Configuration :location_minimum for #{bundle.identifier} missing. Did you run rake index already?")
@calculation.minimum = minimum
end
\ No newline at end of file