Class: Messenger::Elements::Text

Inherits:
Object
  • Object
show all
Defined in:
lib/messenger/components/elements/text.rb

Instance Method Summary collapse

Constructor Details

#initialize(text:) ⇒ Text

Returns a new instance of Text.



4
5
6
# File 'lib/messenger/components/elements/text.rb', line 4

def initialize(text:)
  @text = text
end

Instance Method Details

#buildObject



8
9
10
# File 'lib/messenger/components/elements/text.rb', line 8

def build
  instance_values
end