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.
2303 2304 2305 |
# File 'lib/discordrb/data.rb', line 2303 def @embed end |
#inline ⇒ true, false (readonly)
Returns whether this field is inline.
2312 2313 2314 |
# File 'lib/discordrb/data.rb', line 2312 def inline @inline end |
#name ⇒ String (readonly)
Returns the field's name.
2306 2307 2308 |
# File 'lib/discordrb/data.rb', line 2306 def name @name end |
#value ⇒ String (readonly)
Returns the field's value.
2309 2310 2311 |
# File 'lib/discordrb/data.rb', line 2309 def value @value end |