Sha256: c69366c8b4c6a38112aab8e398ef4f7673d927cd499980fe162de03fe23f8423
Contents?: true
Size: 446 Bytes
Versions: 6
Compression:
Stored size: 446 Bytes
Contents
module Terminalwire::Client::Entitlement # ENV vars that the server can access on the client. class EnvironmentVariables include Enumerable def initialize @permitted = Set.new end def each(&) @permitted.each(&) end def permit(variable) @permitted << variable.to_s end def permitted?(key) include? key.to_s end def serialize map { |name| { name: } } end end end
Version data entries
6 entries across 6 versions & 1 rubygems