Sha256: 26c9a94183aa3764319eb93fb321efc7a42ddf766663defec3a496f1f08d238d
Contents?: true
Size: 631 Bytes
Versions: 6
Compression:
Stored size: 631 Bytes
Contents
# frozen_string_literal: true module ALSA module Aconnect class Port attr_reader :id, :name, :client, :connected_to_type, :connected_to_client_id, :connected_to_port_id def initialize(text, client) @client = client data = Parser.parse_port(text) @id = data[:id] @name = data[:name] @connected_to_type = data[:connected_to_type] @connected_to_client_id = data[:connected_to_client_id] @connected_to_port_id = data[:connected_to_port_id] end end end end
Version data entries
6 entries across 6 versions & 1 rubygems