upd docstrings

This commit is contained in:
onyx-and-iris 2023-08-27 21:36:52 +01:00
parent 54693ed76f
commit cc6db06c65

View File

@ -58,10 +58,10 @@ module Voicemeeter
end end
class RemoteBasic < Remote; end class RemoteBasic < Remote; end
# Concrete class for RemoteBasic types # Represents a RemoteBasic type
class RemoteBanana < Remote class RemoteBanana < Remote
# Concrete class for RemoteBanana types # Represents a RemoteBanana type
public attr_reader :recorder, :patch public attr_reader :recorder, :patch
private def director private def director
@ -70,7 +70,7 @@ module Voicemeeter
end end
class RemotePotato < Remote class RemotePotato < Remote
# Concrete class for RemotePotato types # Represents a RemotePotato type
public attr_reader :recorder, :patch, :fx public attr_reader :recorder, :patch, :fx
private def director private def director
@ -79,7 +79,7 @@ module Voicemeeter
end end
class RequestRemote class RequestRemote
# Factory class for Remote types. Returns a Remote class for a kind. # Factory class for Remote types. Returns a Remote class of a kind.
def self.for(kind, **) def self.for(kind, **)
case kind.name case kind.name
when :basic when :basic