Class: LanguageParser::PrototypeComment

Inherits:
Object
  • Object
show all
Defined in:
lib/cgialib/lp/Language.rb

Overview

class : PrototypeComment

The class represents a comment in the prototype.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePrototypeComment

initialize()

Constructs the object



161
# File 'lib/cgialib/lp/Language.rb', line 161

def initialize() @text = ""; end

Instance Attribute Details

#textObject

The text of the comment



163
164
165
# File 'lib/cgialib/lp/Language.rb', line 163

def text
  @text
end

Instance Method Details

#to_sObject

to_s()

Turns this object into text



169
# File 'lib/cgialib/lp/Language.rb', line 169

def to_s() @text; end