Class: REHTML::Comment
Instance Attribute Summary collapse
-
#string ⇒ Object
readonly
Returns the value of attribute string.
Instance Method Summary collapse
-
#initialize(string) ⇒ Comment
constructor
A new instance of Comment.
Constructor Details
#initialize(string) ⇒ Comment
Returns a new instance of Comment.
37 38 39 |
# File 'lib/rehtml/elements.rb', line 37 def initialize(string) @string = string end |
Instance Attribute Details
#string ⇒ Object (readonly)
Returns the value of attribute string.
36 37 38 |
# File 'lib/rehtml/elements.rb', line 36 def string @string end |