Sha256: af7b27141d615257ad03f50c6641e0f246906fe9e18b6d5cf9940a24bc06b2d4
Contents?: true
Size: 380 Bytes
Versions: 2
Compression:
Stored size: 380 Bytes
Contents
module Fig; end class Fig::TokenizedString; end class Fig::TokenizedString::PlainSegment attr_reader :raw_value def initialize(raw_value) @raw_value = raw_value return end def type return :plain_segment end def to_expanded_string() return @raw_value.gsub(%r< \\ (.) >xm, '\1') end def to_escaped_string() return @raw_value end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fig-0.1.81 | lib/fig/tokenized_string/plain_segment.rb |
fig-0.1.79 | lib/fig/tokenized_string/plain_segment.rb |