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
#[email protected] ⇒ Object
28 29 30 |
# File 'lib/httpx/extensions.rb', line 28 def [email protected] frozen? ? dup : self end |