6 lines
87 B
Ruby
6 lines
87 B
Ruby
|
unless '1.9'.respond_to?(:bytesize)
|
||
|
class String
|
||
|
alias :bytesize :size
|
||
|
end
|
||
|
end
|