mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
8 lines
141 B
Ruby
8 lines
141 B
Ruby
|
# Provides code to work properly on 1.8 and 1.9
|
||
|
|
||
|
class String
|
||
|
unless method_defined? :bytesize
|
||
|
alias_method :bytesize, :size
|
||
|
end
|
||
|
end
|