Method: CodeRunner::Run::FortranNamelist.help_variables

Defined in:
lib/coderunner/fortran_namelist.rb

.help_variablesObject

Print out a list of every variable with help attached.



691
692
693
694
695
# File 'lib/coderunner/fortran_namelist.rb', line 691

def self.help_variables
	max_length = rcp.variables.map{|var| var.to_s.length}.inject{|old, new| [old,new].max}
	# + "-" * ([max_length - var.length - 8, 0].max)
	eputs rcp.variables_with_help.map{|var, comment| "#{var.to_s.rjust(max_length)}---> #{comment}"}.find_all{|string| not string =~ /^\s*\w+_[ie]/}
end