tryLoadFromResource

fun tryLoadFromResource(resourcePath: String = DICE_RULES_RESOURCE_PATH, classLoader: ClassLoader = Thread.currentThread().contextClassLoader): String?

Try to load rules from a classpath resource, returning null if not found.