Class: REHTML::Text
Direct Known Subclasses
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ Text
constructor
A new instance of Text.
Constructor Details
#initialize(value) ⇒ Text
Returns a new instance of Text.
6 7 8 |
# File 'lib/rehtml/elements.rb', line 6 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
5 6 7 |
# File 'lib/rehtml/elements.rb', line 5 def value @value end |