PlaceOS::Driver::Interface::Lighting::Area
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(id : String | UInt32 | Nil = nil, channel : UInt32 | Nil = nil, component : Nil | String = nil, join : UInt32 | Nil = nil, append : Nil | String = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
append(append : String | Nil)
Sourceappend
Sourceappend=(append : String | Nil)
Sourcechannel
Sourcecomponent
Sourcejoin
Sourcejoin_with(area : Area) : Area
Sourceto_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.