Class: RubyUIConverter::Nodes::Text

Inherits:
Base
  • Object
show all
Defined in:
lib/ruby_ui_converter/nodes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(content:) ⇒ Text

Returns a new instance of Text.



56
57
58
# File 'lib/ruby_ui_converter/nodes.rb', line 56

def initialize(content:)
  @content = content
end

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content.



54
55
56
# File 'lib/ruby_ui_converter/nodes.rb', line 54

def content
  @content
end