Module: LiteralStringExtensions

Defined in:
lib/netsnmp.rb

Overview

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

Instance Method Summary collapse

Instance Method Details

#+@Object



72
73
74
# File 'lib/netsnmp.rb', line 72

def +@
  frozen? ? dup : self
end