lib/eco/api/usecases/ooze_samples/helpers/shortcuts.rb in eco-helpers-2.1.5 vs lib/eco/api/usecases/ooze_samples/helpers/shortcuts.rb in eco-helpers-2.1.6

- old
+ new

@@ -124,10 +124,10 @@ end ref << " '#{obj.name}'" if obj.respond_to?(:name) end end - def to_i + def to_i(value) Float(value).to_i end # https://stackoverflow.com/a/5661695/4352306 def is_number?(value)