In pleading a private statute, or a right derived therefrom, it shall be sufficient to refer to such statute by its title and the day of its passage, and the court shall thereupon take judicial notice thereof.