enum Nec::Display::Command
Defined in:
nec/display.crEnum Members
-
VideoInput =
96
-
AudioInput =
558
-
VolumeStatus =
98
-
MuteStatus =
141
-
PowerOnDelay =
728
-
ContrastStatus =
18
-
BrightnessStatus =
16
-
AutoSetup =
30
-
PowerQuery =
470
-
Save =
12
-
SetPower =
12714966
Instance Method Summary
- #audio_input?
- #auto_setup?
- #brightness_status?
- #contrast_status?
- #mute_status?
- #power_on_delay?
- #power_query?
- #save?
- #set_power?
-
#to_s : String
Returns a
String
representation of this enum member. - #video_input?
- #volume_status?
Instance Method Detail
def to_s : String
#
Description copied from struct Enum
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"