class XcodeArchiveCache::BuildSettings::Container

Attributes

all[R]

@return [Hash{String => String}]

filtered[R]

@return [Hash{String => String}]

Public Class Methods

new(all, filtered) click to toggle source

@param [Hash{String => String}] all @param [Hash{String => String}] filtered

# File lib/build_settings/loader.rb, line 27
def initialize(all, filtered)
  @all = all
  @filtered = filtered
end

Public Instance Methods

==(other) click to toggle source
# File lib/build_settings/loader.rb, line 36
def ==(other)
  other && other.all == all && other.filtered == filtered
end
[](name) click to toggle source
# File lib/build_settings/loader.rb, line 32
def [](name)
  all[name]
end
filtered_to_string() click to toggle source

@return [String]

# File lib/build_settings/loader.rb, line 42
def filtered_to_string
  filtered.map {|name, value| "#{name} = #{value}"}.join("\n")
end