Class: Discorb::ScheduledEvent::Metadata
- Inherits:
-
Object
- Object
- Discorb::ScheduledEvent::Metadata
- Defined in:
- lib/discorb/event.rb
Overview
Represents the metadata of the event.
Instance Attribute Summary collapse
-
#location ⇒ String?
readonly
The location of the event.
Instance Method Summary collapse
Instance Attribute Details
#location ⇒ String? (readonly)
Returns The location of the event. Only present if the event is a external event.
35 36 37 |
# File 'lib/discorb/event.rb', line 35 def location @location end |
Instance Method Details
#inspect ⇒ Object
42 43 44 |
# File 'lib/discorb/event.rb', line 42 def inspect "#<#{self.class.name} #{@name}>" end |