
12 Nov
2020
12 Nov
'20
9:13 a.m.
On Wed, Nov 11, 2020 at 07:37:24PM +0800, Li Yuanchao wrote:
+ + if File.file?(lab_cluster_file_path) + cluster_file_path = lab_cluster_file_path + else + cluster_file_path = lkp_cluster_file_path + end
You can use cluster_file_path = File.file?(lab_cluster_file_path) ? lab_cluster_file_path : lkp_cluster_file_path here.
Got it. Thanks, RenWen
Thanks, Yuanchao