Gamemode
Inherits Enum < Comparable < Value < Object
Constants
VN_OSU = 0_u8
VN_TAIKO = 1_u8
VN_CATCH = 2_u8
VN_MANIA = 3_u8
RX_OSU = 4_u8
RX_TAIKO = 5_u8
RX_CATCH = 6_u8
RX_MANIA = 7_u8
AP_OSU = 8_u8
AP_TAIKO = 9_u8
AP_CATCH = 10_u8
AP_MANIA = 11_u8
Constructors
Class methods
valid_gamemodes
SourceInstance methods
as_vn
Sourceto_s
Returns a String representation of this enum member.
In the case of regular enums, this is just the name of the member.
In the case of flag enums, it's the names joined by vertical bars, or "None",
if the value is zero.
If an enum's value doesn't match a member's value, the raw value is returned as a string.
Color::Red.to_s # => "Red"
IOMode::None.to_s # => "None"
(IOMode::Read | IOMode::Write).to_s # => "Read | Write"
Color.new(10).to_s # => "10"