Sha256: 1e813bf6bb89eb79bc0a85689130fbbf66300267abf922375e9497b1cd1bada9

Contents?: true

Size: 146 Bytes

Versions: 4

Compression:

Stored size: 146 Bytes

Contents

# frozen_string_literal: true

# Converts string into number
class StrConverter
  def convert(string)
    string unless string == 'nil'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rast-1.0.0 lib/rast/converters/str_converter.rb
rast-0.19.1 lib/rast/converters/str_converter.rb
rast-0.19.0 lib/rast/converters/str_converter.rb
rast-0.18.0 lib/rast/converters/str_converter.rb