# File lib/rgen/template_language/template_helper.rb, line 12 def _splitArgsAndOptions(all) if all[-1] and all[-1].is_a? Hash args = all[0..-2] || [] options = all[-1] else args = all options = {} end return args, options end