Class: Discordrb::EmbedField
- Inherits:
-
Object
- Object
- Discordrb::EmbedField
- Defined in:
- lib/discordrb/data.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.
2325 2326 2327 |
# File 'lib/discordrb/data.rb', line 2325 def @embed end |
#inline ⇒ true, false (readonly)
Returns whether this field is inline.
2334 2335 2336 |
# File 'lib/discordrb/data.rb', line 2334 def inline @inline end |
#name ⇒ String (readonly)
Returns the field's name.
2328 2329 2330 |
# File 'lib/discordrb/data.rb', line 2328 def name @name end |
#value ⇒ String (readonly)
Returns the field's value.
2331 2332 2333 |
# File 'lib/discordrb/data.rb', line 2331 def value @value end |