Method: String#value
- Defined in:
- lib/rtp-connect/ruby_extensions.rb
#value ⇒ String
Removes leading & trailing double quotes from a string.
44 45 46 |
# File 'lib/rtp-connect/ruby_extensions.rb', line 44 def value self.gsub(/\A"|"\Z/, '') end |