Class: Pod::SPM::Resolver::Result::WritableResult

Inherits:
Pod::SPM::Resolver::Result show all
Defined in:
lib/cocoapods-spm/resolver/result.rb

Constant Summary

Constants inherited from Pod::SPM::Resolver::Result

ATTRS

Instance Method Summary collapse

Methods inherited from Pod::SPM::Resolver::Result

#initialize, #linker_flags_for, #spm_dependencies_for, #spm_pkgs_for, #spm_targets_for

Methods included from Config::SPMConfigMixin

#local_macro_pod?, #local_macro_pod_dir, #macro_pods, #spm_config

Methods included from Config::PodConfigMixin

#pod_config

Methods included from Config::ProjectConfigMixin

#project_config

Constructor Details

This class inherits a constructor from Pod::SPM::Resolver::Result

Instance Method Details

#to_read_onlyObject



16
17
18
# File 'lib/cocoapods-spm/resolver/result.rb', line 16

def to_read_only
  Result.new(ATTRS.to_h { |x| [x, instance_variable_get("@#{x}")] })
end