Sha256: f0266c58b31f49296250e691d602b04ec60d4d86df9c726bb2a379b63989371d
Contents?: true
Size: 432 Bytes
Versions: 10
Compression:
Stored size: 432 Bytes
Contents
require 'fileutils' def showmonth begin # begin rescue monitored block command_file_path = File.join( $extras_directory, 'cal.rb' ) @showmonthresult = `ruby #{command_file_path} -c #{$lang} #{@a_month.to_i} #{@a_year.to_i} ` rescue # process exeption @showmonthresult = "\n" + "error in eval" end # end of rescue process # of rescure monitored block end
Version data entries
10 entries across 10 versions & 3 rubygems