Method: Fig::TokenizedString#to_double_quotable_string
- Defined in:
- lib/fig/tokenized_string.rb
#to_double_quotable_string ⇒ Object
41 42 43 44 45 46 47 48 49 |
# File 'lib/fig/tokenized_string.rb', line 41 def to_double_quotable_string() return to_escaped_string if ! single_quoted? return ( @segments.collect { |segment| segment.to_double_quotable_string @metacharacters } ).join '' end |