Sha256: 939a3da9c42a6ca545e6ffbc7f5dceb09b8491b8015707c7b275e40b8d9852d9

Contents?: true

Size: 146 Bytes

Versions: 25

Compression:

Stored size: 146 Bytes

Contents

# frozen_string_literal: true

# Converts string into a floating type number
class FloatConverter
  def convert(string)
    string.to_f
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
rast-1.0.0 lib/rast/converters/float_converter.rb
rast-0.19.1 lib/rast/converters/float_converter.rb
rast-0.19.0 lib/rast/converters/float_converter.rb
rast-0.18.0 lib/rast/converters/float_converter.rb
rast-0.15.1 lib/rast/converters/float_converter.rb
rast-0.14.0 lib/rast/converters/float_converter.rb
rast-0.11.4 lib/rast/converters/float_converter.rb
rast-0.11.3 lib/rast/converters/float_converter.rb
rast-0.11.1 lib/rast/converters/float_converter.rb
rast-0.11.0 lib/rast/converters/float_converter.rb
rast-0.10.0 lib/rast/converters/float_converter.rb
rast-0.9.0 lib/rast/converters/float_converter.rb
rast-0.9.0.pre lib/rast/converters/float_converter.rb
rast-0.8.1.pre lib/rast/converters/float_converter.rb
rast-0.8.0.pre lib/rast/converters/float_converter.rb
rast-0.6.2.pre lib/rast/converters/float_converter.rb
rast-0.6.1.pre lib/rast/converters/float_converter.rb
rast-0.6.0.pre lib/rast/converters/float_converter.rb
rast-0.4.2.pre lib/rast/converters/float_converter.rb
rast-0.4.1.pre lib/rast/converters/float_converter.rb