Class: MODL::Parser::Parsed::ParsedQuoted

Inherits:
Object
  • Object
show all
Defined in:
lib/modl/parser/parsed.rb

Overview

Class to represent a parsed grammar object

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(string) ⇒ ParsedQuoted

Returns a new instance of ParsedQuoted.



728
729
730
# File 'lib/modl/parser/parsed.rb', line 728

def initialize(string)
  @string = string
end

Instance Attribute Details

#stringObject

Returns the value of attribute string.



726
727
728
# File 'lib/modl/parser/parsed.rb', line 726

def string
  @string
end