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.
41 42 43 |
# File 'lib/discorb/event.rb', line 41 def location @location end |
Instance Method Details
#inspect -> Object
48 49 50 |
# File 'lib/discorb/event.rb', line 48 def inspect "#<#{self.class.name} #{@name}>" end |