Module: HTTPX::LiteralStringExtensions

Defined in:
lib/httpx/extensions.rb

Overview

Backport for +“”, to initialize unfrozen strings from the string literal.

Instance Method Summary collapse

Instance Method Details

#+@Object



28
29
30
# File 'lib/httpx/extensions.rb', line 28

def +@
  frozen? ? dup : self
end