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-2.0.0.b3-java lib/puma/compat.rb
puma-2.0.0.b3 lib/puma/compat.rb
puma-2.0.0.b2-java lib/puma/compat.rb
puma-2.0.0.b2 lib/puma/compat.rb
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/lib/puma/compat.rb
puma-2.0.0.b1-java lib/puma/compat.rb
puma-2.0.0.b1 lib/puma/compat.rb
puma-1.6.3-java lib/puma/compat.rb
puma-1.6.3 lib/puma/compat.rb
puma-1.6.2-java lib/puma/compat.rb
puma-1.6.2 lib/puma/compat.rb
puma-1.6.1-java lib/puma/compat.rb
puma-1.6.1 lib/puma/compat.rb
puma-1.6.0-java lib/puma/compat.rb
puma-1.6.0 lib/puma/compat.rb
puma-1.5.0-java lib/puma/compat.rb
puma-1.5.0 lib/puma/compat.rb
puma-1.4.0-java lib/puma/compat.rb
puma-1.4.0 lib/puma/compat.rb
puma-1.3.1-java lib/puma/compat.rb