Sha256: 38606e1e6cfc05a7a182591cd4e8beed8393678f3db5a8290ad4306c29d56e32
Contents?: true
Size: 438 Bytes
Versions: 38
Compression:
Stored size: 438 Bytes
Contents
require 'pp' namelists = eval(File.read('lib/gs2crmod/namelists.rb')) p 'read namelists' namelists[:diagnostics_config][:variables].each do |var, varhash| varhash[:help] ||= namelists[:gs2_diagnostics_knobs][:variables][var][:help] rescue "" varhash[:description] ||= namelists[:gs2_diagnostics_knobs][:variables][var][:description] rescue "" end File.open('lib/gs2crmod/namelists.rb', 'w'){|file| file.puts namelists.pretty_inspect}
Version data entries
38 entries across 38 versions & 1 rubygems