Sha256: c296f164e1940dd77acf48051485b6cca5dd5644330f822b5bfc6671b2d451d5

Contents?: true

Size: 119 Bytes

Versions: 6

Compression:

Stored size: 119 Bytes

Contents

if !String.new.respond_to?(:force_encoding)
  class String
    def force_encoding(*args)
      self
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
qcmd-0.2.0 lib/qcmd/core_ext/string.rb
qcmd-0.1.16 lib/qcmd/core_ext/string.rb
qcmd-0.1.16.pre2 lib/qcmd/core_ext/string.rb
qcmd-0.1.16.pre lib/qcmd/core_ext/string.rb
qcmd-0.1.15 lib/qcmd/core_ext/string.rb
qcmd-0.1.14 lib/qcmd/core_ext/string.rb