class Comment
class Comment
lib/xml/comment.tya:2
Comment provides the xml/Comment standard library API.
Source
# Comment provides the xml/Comment standard library API.
class Comment
# Comment.text stores instance state.
# @type Nil
text: nil
# Comment.initialize provides the xml/Comment standard library operation.
# @param text String text value.
# @return Self the initialized object.
initialize: text ->
self.text = text
# Comment.new provides the xml/Comment standard library operation.
# @param text String text value.
# @return Self the resulting value.
new: text ->
Comment(text)
Instance Variables
text
Comment.text
lib/xml/comment.tya:5
Comment.text stores instance state.
Source
# Comment.text stores instance state.
# @type Nil
text: nil
Methods
initialize
Comment.initialize(text)
lib/xml/comment.tya:10
Comment.initialize provides the xml/Comment standard library operation.
Source
# Comment.initialize provides the xml/Comment standard library operation.
# @param text String text value.
# @return Self the initialized object.
initialize: text ->
self.text = text
new
Comment.new(text)
lib/xml/comment.tya:16
Comment.new provides the xml/Comment standard library operation.
Source
# Comment.new provides the xml/Comment standard library operation.
# @param text String text value.
# @return Self the resulting value.
new: text ->
Comment(text)