lib/slackert/builder.rb
def add_header(text)
      return if text.empty?

      @content.push(Blocks::Header.new(text).to_slack)
    end
# Add a header to the message. It formats as a large title on top of the message.
# @param text [String] header text, plain text only
#
Add a header to the message. It formats as a large title on top of the message.
Add a header to the message . It formats as a large title on top of the message .
def add_header(text)
      return if text.empty?
      @content.push(Blocks::Header.new(text).to_slack)
    end
def add_header ( text ) return if text . empty? @content . push ( Blocks :: Header . new ( text ) . to_slack ) end
Add a header to the message.
Add a header to the message .
text
header text, plain text only
header text plain text only