Class: Discordrb::EmbedField
- Inherits:
-
Object
- Object
- Discordrb::EmbedField
- Defined in:
- lib/discordrb/data/embed.rb
Overview
An Embed field for the embed object
Instance Attribute Summary collapse
-
#embed ⇒ Embed
readonly
The embed object this is based on.
-
#inline ⇒ true, false
readonly
Whether this field is inline.
-
#name ⇒ String
readonly
The field’s name.
-
#value ⇒ String
readonly
The field’s value.
Instance Attribute Details
#embed ⇒ Embed (readonly)
Returns the embed object this is based on.
231 232 233 |
# File 'lib/discordrb/data/embed.rb', line 231 def @embed end |
#inline ⇒ true, false (readonly)
Returns whether this field is inline.
240 241 242 |
# File 'lib/discordrb/data/embed.rb', line 240 def inline @inline end |
#name ⇒ String (readonly)
Returns the field’s name.
234 235 236 |
# File 'lib/discordrb/data/embed.rb', line 234 def name @name end |
#value ⇒ String (readonly)
Returns the field’s value.
237 238 239 |
# File 'lib/discordrb/data/embed.rb', line 237 def value @value end |