lib/discord/embed.rb
# Adds a field to the embed object.
# @yield [field] The builder for easy building.
# @yieldparam [Discordrb::Webhooks::EmbedField] field The raw field object.
Adds a field to the embed object.
Adds a field to the embed object .
def field
    field = Discordrb::Webhooks::EmbedField.new
    yield field
    @raw << field
  end
def field field = Discordrb :: Webhooks :: EmbedField . new yield field @raw << field end
Adds a field to the embed object.
Adds a field to the embed object .
]
<not_specific>
The builder for easy building.
The builder for easy building .
<not_specific>
field The raw field object.
field The raw field object .