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.



764
765
766
# File 'lib/modl/parser/parsed.rb', line 764

def initialize(string)
  @string = string
end

Instance Attribute Details

#stringObject

Returns the value of attribute string.



762
763
764
# File 'lib/modl/parser/parsed.rb', line 762

def string
  @string
end