class MODL::Parser::Parsed::ParsedString
Class to represent a parsed grammar object
Attributes
string[RW]
Public Class Methods
new(string)
click to toggle source
# File lib/modl/parser/parsed.rb, line 737 def initialize(string) @string = string end
Public Instance Methods
extract_hash()
click to toggle source
# File lib/modl/parser/parsed.rb, line 745 def extract_hash @string = Substitutions.process UnicodeEscapes.process @string end
text()
click to toggle source
# File lib/modl/parser/parsed.rb, line 741 def text @string end