Mercurial Hosting > luan
comparison src/luan/modules/BasicLuan.java @ 1298:01a380c494f2
stringify defaults to not strict
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 10 Jan 2019 23:20:27 -0700 |
parents | 623dfe0e2e73 |
children | 5345466fa61f |
comparison
equal
deleted
inserted
replaced
1297:5bd49896a7ce | 1298:01a380c494f2 |
---|---|
227 return obj.hashCode(); | 227 return obj.hashCode(); |
228 } | 228 } |
229 } | 229 } |
230 | 230 |
231 public static String stringify(Object obj,Boolean strict) throws LuanException { | 231 public static String stringify(Object obj,Boolean strict) throws LuanException { |
232 boolean b = strict!=null ? strict : true; | 232 boolean b = strict!=null ? strict : false; |
233 return LuanToString.toString(obj,b); | 233 return LuanToString.toString(obj,b); |
234 } | 234 } |
235 | 235 |
236 } | 236 } |