Class: Discorb::Presence::Activity::Flag

Inherits:
Flag
  • Object
show all
Defined in:
lib/discorb/presence.rb

Overview

Represents the flags of an activity.

Flag fields

|1 << 0|:instance| |1 << 1|:join| |1 << 2|:spectate| |1 << 3|:join_request| |1 << 4|:sync| |1 << 5|:play|

Instance Attribute Summary

Attributes inherited from Flag

#value, #values

Method Summary

Methods inherited from Flag

#&, #-, #^, #initialize, max_value, #method_missing, #respond_to_missing?, #|, #~@

Constructor Details

This class inherits a constructor from Discorb::Flag

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Discorb::Flag