Class: LanguageParser::PrototypeComment
- Inherits:
-
Object
- Object
- LanguageParser::PrototypeComment
- Defined in:
- lib/cgialib/lp/Language.rb
Overview
class : PrototypeComment
The class represents a comment in the prototype.
Instance Attribute Summary collapse
-
#text ⇒ Object
The text of the comment.
Instance Method Summary collapse
-
#initialize ⇒ PrototypeComment
constructor
initialize().
-
#to_s ⇒ Object
to_s().
Constructor Details
#initialize ⇒ PrototypeComment
initialize()
Constructs the object
161 |
# File 'lib/cgialib/lp/Language.rb', line 161 def initialize() @text = ""; end |
Instance Attribute Details
#text ⇒ Object
The text of the comment
163 164 165 |
# File 'lib/cgialib/lp/Language.rb', line 163 def text @text end |
Instance Method Details
#to_s ⇒ Object
to_s()
Turns this object into text
169 |
# File 'lib/cgialib/lp/Language.rb', line 169 def to_s() @text; end |