Sha256: 5d43d8219b6f302fb0555f89ed11b4e8ca23d0b67b76215ea1cef17df0fc4dcd
Contents?: true
Size: 457 Bytes
Versions: 6
Compression:
Stored size: 457 Bytes
Contents
# frozen_string_literal: true module ProconBypassMan module ExternalInput class BootMessage # @return [ProconBypassMan::ExternalInput::Channels::Base] def initialize(channels: ) @channels = channels end # @return [String] def to_s if @channels.nil? or @channels.empty? return 'DISABLE' end @channels.map(&:display_name_for_boot_message).join(', ') end end end end
Version data entries
6 entries across 6 versions & 1 rubygems