Class: Funicular::VDOM::Text

Inherits:
VNode
  • Object
show all
Defined in:
sig/vdom.rbs

Instance Attribute Summary collapse

Attributes inherited from VNode

#key, #type

Instance Method Summary collapse

Constructor Details

#initializeText

Returns a new instance of Text.

Parameters:

  • content (String)


35
# File 'sig/vdom.rbs', line 35

def initialize: (String content) -> void

Instance Attribute Details

#contentString (readonly)

Returns the value of attribute content.

Returns:

  • (String)


33
34
35
# File 'sig/vdom.rbs', line 33

def content
  @content
end

Instance Method Details

#==Boolean

Parameters:

  • other (Object)

Returns:

  • (Boolean)


36
# File 'sig/vdom.rbs', line 36

def ==: (untyped other) -> bool