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

Version Path
gs2crmod-0.12.17 sync_variables/copy_help.rb
gs2crmod-0.12.16 sync_variables/copy_help.rb
gs2crmod-0.12.15 sync_variables/copy_help.rb
gs2crmod-0.12.14 sync_variables/copy_help.rb
gs2crmod-0.12.13 sync_variables/copy_help.rb
gs2crmod-0.12.12 sync_variables/copy_help.rb
gs2crmod-0.12.11 sync_variables/copy_help.rb
gs2crmod-0.12.10 sync_variables/copy_help.rb
gs2crmod-0.12.9 sync_variables/copy_help.rb
gs2crmod-0.12.8 sync_variables/copy_help.rb
gs2crmod-0.12.7 sync_variables/copy_help.rb
gs2crmod-0.12.6 sync_variables/copy_help.rb
gs2crmod-0.12.5 sync_variables/copy_help.rb
gs2crmod-0.12.4 sync_variables/copy_help.rb
gs2crmod-0.12.3 sync_variables/copy_help.rb
gs2crmod-0.12.2 sync_variables/copy_help.rb
gs2crmod-0.12.1 sync_variables/copy_help.rb
gs2crmod-0.12.0 sync_variables/copy_help.rb
gs2crmod-0.11.101 sync_variables/copy_help.rb
gs2crmod-0.11.100 sync_variables/copy_help.rb