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