Class: RubyUIConverter::Nodes::RawText
- Defined in:
- lib/ruby_ui_converter/nodes.rb
Overview
Raw inner content of <script>/<style> elements (kept verbatim).
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
Instance Method Summary collapse
-
#initialize(content:) ⇒ RawText
constructor
A new instance of RawText.
Constructor Details
#initialize(content:) ⇒ RawText
Returns a new instance of RawText.
65 66 67 |
# File 'lib/ruby_ui_converter/nodes.rb', line 65 def initialize(content:) @content = content end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
63 64 65 |
# File 'lib/ruby_ui_converter/nodes.rb', line 63 def content @content end |