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.



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

def initialize(string)
  @string = string
end

Instance Attribute Details

#stringObject

Returns the value of attribute string.



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

def string
  @string
end