lib/eco/data/locations/convert.rb in eco-helpers-2.6.4 vs lib/eco/data/locations/convert.rb in eco-helpers-2.7.0

- old
+ new

@@ -74,10 +74,10 @@ def empty_level_tracker_hash(count = 11) Array(1..count).zip(empty_array(count)).to_h end # It logs a message from `yield` and appends a `pretty_inspect` on object. - # @note it only works where `object` is `Enumberable` + # @note it only works where `object` is `Enumerable` def log_pretty_inspect(object, lev = :info) return unless object.is_a?(Enumerable) return if object.empty? msg = '' msg << "#{yield(object)}\n" if block_given?