Sha256: 57f266b62e37c74fb776972eff995c0855a6ac65cfe7f99deeb0cb89aa822848

Contents?: true

Size: 141 Bytes

Versions: 33

Compression:

Stored size: 141 Bytes

Contents

# Provides code to work properly on 1.8 and 1.9

class String
  unless method_defined? :bytesize
    alias_method :bytesize, :size
  end
end

Version data entries

33 entries across 33 versions & 2 rubygems

Version Path
puma-1.3.1 lib/puma/compat.rb
puma-1.3.0-java lib/puma/compat.rb
puma-1.3.0 lib/puma/compat.rb
puma-1.2.2-java lib/puma/compat.rb
puma-1.2.2 lib/puma/compat.rb
puma-1.2.1-java lib/puma/compat.rb
puma-1.2.1 lib/puma/compat.rb
puma-1.2.0-java lib/puma/compat.rb
puma-1.2.0 lib/puma/compat.rb
puma-1.1.1-java lib/puma/compat.rb
puma-1.1.1 lib/puma/compat.rb
puma-1.0.0-java lib/puma/compat.rb
puma-1.0.0 lib/puma/compat.rb